Tagged: , ,

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #421976

    Hi,

    when I add a post with default editor, I have the right sidebar (defined in the widget “Sidebar blog”) : Great !

    But when I add a post with the advanced editor, I have a wrong sidebar : the default page sidebar (defined in the widget “Sidebar pages”), but it’s a post…

    Could you help me fix this problem ?

    Thanks
    Oli

    #422298

    Hi Oli!

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details here as a private reply.

    Best regards,
    Rikard

    #422369
    This reply has been marked as private.
    #422488
    This reply has been marked as private.
    #422498

    Hi!

    You can edit your blog posts and choose to display blog sidebar – http://i.imgur.com/yrzYEjA.png

    Cheers!
    Yigit

    #422504

    Hi,

    Yes, I know but why the default one for posts is the default sidebar for pages ?
    I don’t want to have to choose it for every post.

    Regards
    oli

    #422821

    Hi,

    Open /enfold/template-builder.php and look for (around line 64):

    		$avia_config['currently_viewing'] = 'page';
    

    Replace it by this:

    		if (is_singular('post')) {
    			$avia_config['currently_viewing'] = 'blog';
    		}else{
    			$avia_config['currently_viewing'] = 'page';
    		}
    

    Regards,
    Josue

    #423038

    Hi Josue,

    thanks, it works for the sidebar but 2 questions :
    – is it possible to add it to the next version of Enfold ?
    – it’s ok for the sidebar but :
    1) the title of the post is not included in the content body like a post with the default editor.
    2) the featured image is not included too

    Is it possible to have exactly the same behavior with a page whether I use advanced or default editor ?
    Thanks a lot,

    Oli

    #423241

    Hi!

    I’ve reported the sidebar issue to Kriesi.

    Regarding the other points; no, it’s not possible, when you activate ALB it will transform that post into a empty canvas, meaning that all pre-defined templating (in case of Post:: title, thumbnail, meta data, etc) will be ignored, so you’d need to rebuild those elements using ALB elements.

    Cheers!
    Josue

    #424527

    Hi,

    OK, thanks for your answers !

    Regards,
    Oli

    #424671

    Hey!

    Glad we could help :)

    Cheers!
    Rikard

    #424678

    Just a word :
    it’s quite strange that a post has two radically different behaviors only because of the type of editor used to write it.

    For me, it would be better to not have the advanced layer editor on posts.

    Best regards,
    Oli

    #424693

    Hey!

    Thanks for you input.

    Best regards,
    Rikard

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Wrong sidebar (sidebar pages !) on single posts’ is closed to new replies.