-
AuthorPosts
-
April 1, 2015 at 3:56 pm #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
OliApril 2, 2015 at 7:19 am #422298Hi 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,
RikardApril 2, 2015 at 10:12 am #422369This reply has been marked as private.April 2, 2015 at 2:34 pm #422488This reply has been marked as private.April 2, 2015 at 2:54 pm #422498Hi!
You can edit your blog posts and choose to display blog sidebar – http://i.imgur.com/yrzYEjA.png
Cheers!
YigitApril 2, 2015 at 2:56 pm #422504Hi,
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
oliApril 2, 2015 at 11:21 pm #422821Hi,
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,
JosueApril 3, 2015 at 2:32 pm #423038Hi 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 tooIs it possible to have exactly the same behavior with a page whether I use advanced or default editor ?
Thanks a lot,Oli
April 3, 2015 at 7:52 pm #423241Hi!
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!
JosueApril 7, 2015 at 9:19 am #424527Hi,
OK, thanks for your answers !
Regards,
OliApril 7, 2015 at 1:50 pm #424671April 7, 2015 at 1:59 pm #424678Just 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,
OliApril 7, 2015 at 2:23 pm #424693 -
AuthorPosts
- The topic ‘Wrong sidebar (sidebar pages !) on single posts’ is closed to new replies.