Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #692972

    Hi
    Don’t know if this is possible, but I would like to load a template I made by default, every time I create a new post.

    I have manage to make de ALB as default with this code

    function trigger_alb_on_load(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
        	$("#avia-builder-button").trigger('click');
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('admin_head-post-new.php', 'trigger_alb_on_load');

    Any suggestions on how to do this?

    #693010

    Hey enestedt,

    We would be glad to help you with this customization, but at the moment there is no easy way to do this by using a small custom code snippet, so I am afraid its out of the scope of our support.

    But please feel free to request such feature at our feature request system: https://kriesi.at/support/enfold-feature-requests/

    This system allows us to keep track of user suggestions and lets you vote on the feature you would like to see the most. I am afraid though there is no guarantee that a feature will get implemented. If that’s something you really need you can always try to hire a developer for the task :)

    Best regards,
    Basilis

    #693035

    Okej I will do that, thank you!

    #693037

    Hi,

    Great! Look forward to seeing your request.

    Let us know if there is anything else you need assistance with by reaching out on the forum again.

    Best regards,
    Jordan

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Template as default’ is closed to new replies.