-
AuthorPosts
-
April 27, 2017 at 6:36 pm #784141
We have a left sidebar setup on our single post pages. Is there a way we can have different items on the sidebar for different pages?
For example, on our pages, we have specific items that relate to that page shown, but how can we achieve this on the blog posts?
In the link attached below, you will see on the sidebar, there is info about NBA, but the post talks about NFL.
April 27, 2017 at 9:08 pm #784203Hey Drebosio,
You can change the sidebar that you want to use in the right of the page: http://prntscr.com/f1kw2q
Best regards,
John TorvikApril 27, 2017 at 9:10 pm #784207oh wow, i was overthinking this by about 100! Lol completely forgot that option was there!
thanks John!
April 27, 2017 at 9:47 pm #784220Hi!
Happy we could help you out.
Please feel free to let us know if there is anything else we can do for you.Thank you
Regards,
BasilisApril 28, 2017 at 7:07 pm #784766I am having a similar issue. I have a plugin called LearnDash. It uses the Blog feature to create courses, lessons, and topics. So you create a topic similarly to how you would create a blog. When I am creating or editing a topic, for LearnDash, the edit page does not let me select the sidebar (Like I normally would with a blog post or page, and what you have described above…). How do I add that option back into the edit screen for this plug in?
Thanks,
CameronApril 28, 2017 at 7:14 pm #784769Also, the Advanced Layout Editor is missing from that screen too…
April 28, 2017 at 10:22 pm #784828@jcameron13 you need to install a childtheme and add the following code to the functions.php of the childtheme:
add_filter('avf_builder_boxes', 'add_builder_to_posttype'); function add_builder_to_posttype($metabox) { $post_types = array('sfwd-courses', 'sfwd-lessons', 'sfwd-quiz', 'sfwd-topic', 'sfwd-certificates' ); foreach($metabox as &$meta) { if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout') { foreach ($post_types as $post_type){ $meta['page'][] = $post_type; } } } return $metabox; }
This will add the Layout Builder and the sitebar metabox. However keep in mind not all elements of the builder can be used in all posttypes of Learndash. This is not bug in Enfold. It is by design in Learndash.
May 1, 2017 at 6:51 am #785530Hi,
Thanks for sharing @mensmaximus, much appreciated. Did you try that out and did you have any luck with it @jcameron13?
Best regards,
RikardMay 1, 2017 at 5:45 pm #785877That is what I was looking for! Thanks @mensmaximus!
May 1, 2017 at 5:50 pm #785884Hi,
Glad to hear that :)
@mensmaximus: Thanks again for sharing really great solutions :)Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.