Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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.

    #784203

    Hey Drebosio,

    You can change the sidebar that you want to use in the right of the page: http://prntscr.com/f1kw2q

    Best regards,
    John Torvik

    #784207

    oh wow, i was overthinking this by about 100! Lol completely forgot that option was there!

    thanks John!

    #784220

    Hi!

    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,
    Basilis

    #784766

    I 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,
    Cameron

    #784769

    Also, the Advanced Layout Editor is missing from that screen too…

    #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.

    #785530

    Hi,

    Thanks for sharing @mensmaximus, much appreciated. Did you try that out and did you have any luck with it @jcameron13?

    Best regards,
    Rikard

    #785877

    That is what I was looking for! Thanks @mensmaximus!

    #785884

    Hi,

    Glad to hear that :)


    @mensmaximus
    : Thanks again for sharing really great solutions :)

    Best regards,
    Nikko

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