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

    sidebar settings –> Sidebar on Single Post Entries –> select「 left sidebar 」

    Can it only show left sidebar in the all single portfolio items, not include all single blog posts.

    #981989

    Hey Johnny,

    Thank you for using Enfold.

    This filter should help you with that.

    add_filter('avia_layout_filter', 'avia_change_post_layout', 10, 2);
    function avia_change_post_layout($layout, $post_id) {
        if( is_singular('post') ) {
            $layout['current'] = $layout['fullsize'];
            $layout['current']['main'] = 'fullsize';
        }
    
        return $layout;
    }

    Best regards,
    Ismael

    #982133

    perfect
    it’s worked
    thank you

    #982395

    Hi,

    Great, glad we could help. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.