Tagged: x
-
AuthorPosts
-
January 21, 2017 at 8:26 pm #1340081
BionicTimParticipantHi
I am using X and I was happy with the individual blogs showing up with a sidebar of “Latest Blogs” and “Archives” etc but recently I’m trying to add an online course which seems to use “blogs” as the courses, lessons, topics and quizzes. I want their course information to show up in their sidebar but it also shows up in the sidebar of the proper blog pages, which I want to see lates blogs and archives etc.
I tried setting up Sidebars for the two clashing sets of blogs and adding their respective widgets, but it won’t work. I don’t think “Sidebars” will work on blogs.
Is there a way around this problem please, or do I have to choose either one or the other.
I am using LearnDash from https://www.learndash.com on the website: http://www.dianaluke.net
Thanks for your help
January 22, 2017 at 1:58 am #1340241
ChristopherModeratorHi there,
Please select one of content layout with sidebar under Customize -> layout and design.
Thanks.
January 23, 2017 at 2:13 pm #1342047
BionicTimParticipantHi
I don’t think you understand my question.
I do have the sidebar working to the right of the content page.My question is how can I use two blog pages (the normal blog) and (LearnDash “blog”) each one showing their own different but relavent widgets in the sidebar.
I have tried configuring the sidebar but it will only work with blogs and I can ONLY use either LearnDash widgets or usual blog widgets in the BLOG sidebar.
Please look at the site http://www.dianaluke.net and under WORKSHOPS click the login link
You will see all the available courses from LearnDash software widgets.Now click on blog and choose any blog. You will see the SAME content from LearnDash. I want to see here recent blogs and archive blogs not course information.
Again is it possible to have two seperate blog sidebars with each of their own content?
I know I can create any amount of new sidebars for pages and have different widgets on each, but it seems I can only have one blog sidebar between two different blog pages.
Any ideas please?
January 24, 2017 at 12:11 am #1342642
Paul RModeratorHi,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
January 24, 2017 at 9:55 pm #1344184
BionicTimParticipantThis reply has been marked as private.January 25, 2017 at 6:13 am #1344564
Paul RModeratorHi,
Thanks for the logins.
Upon checking your course pages, I can see the sidebar showing up
https://www.screencast.com/t/QtMWNJYjdR5
If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
For the mean time, kindly review the link below.
https://community.theme.co/kb/unlimited-sidebars/
Hope that helps
February 1, 2017 at 5:14 am #1353481
BionicTimParticipantI don’t know how to explain more clearly.
If you search the forum for “LearnDash Sidebar” you will find other people with the same integration problem that I have. It seems that LearnDash hogs the Main Sidebar in X theme. (You end up with learndash course progress in the same sidebar as your blog posts) Making a new X sidebar will not seperate them! If you check the BLOG checkbox, all it does is give an empty sidebar in the blog pages, even though there are Recent Posts and Archive widgets in there! The LearnDash course progression works fine using the main sidebar. To make the X theme sidebar work ALL posts have to be individually checked/ticked which is possible as long as you remember to check the box for your new blog post.
To fix it and make it automatic I have had to install the plugin “Easy Custom Sidebars” and create a NEW THEME SIDEBAR called Blog Sidebar. (this should easily be possible within X but it does not work)
1. Set it to replace the default main sidebar.
2. Then check ALL POSTS and add it to the new sidebar.
3. In Widgets move the Recent Posts and Archives to the new sidebar called Blog Sidebar
4. LearnDash course information now uses the main sidebar by itself free from you Blog Posts.
Thankfully I found this in the forum from Patrick Steil: April 14, 2016 at 2:59 pm
Hello all, I am also integrating LearnDash into my X Theme and found this because of X lacking the ability to use its “unlimited sidebars” with custom post types.
I found this plugin that is working beautifully for me:
Perhaps the X team can borrow code from that plugin to make this work for X theme natively 🙂Unfortunately in both scenarios above when a search is made there is a blank sidebar in the results which looks odd. Is there any work around that may help. I have removed the search option pending new info.
Any news on when X theme is going to intigrate with the LearnDash sidebar issue?
I really don’t want to have to use so many plugins!Thanks
February 1, 2017 at 4:15 pm #1354334
RadModeratorHi there,
X sidebars are intended to be that way, but yes, more option is better.
If you don’t wish to use a plugin, then you can do it by code. Like utilizing X’s sidebar filter, though I’m not really sure how you implemented the LearDash integration for templates. Would you mind providing the correct FTP login credentials? I can’t connect to both IP and domain.
Thanks!
February 5, 2017 at 9:22 am #1358620
BionicTimParticipantThis reply has been marked as private.February 5, 2017 at 6:33 pm #1358943
RadModeratorHi there,
Please install a child theme and add this code to its functions.php
add_filter( 'ups_sidebar', 'ups_display_sidebar_learndash', 9999 ); function ups_display_sidebar_learndash ( $sidebar ) { if ( is_singular( array( 'sfwd-courses', 'sfwd-lessons', 'sfwd-quiz', 'sfwd-topic' ) ) ) { return 'THE_ID_OF_YOUR_SIDEBAR'; } return $sidebar; }Just change the THE_ID_OF_YOUR_SIDEBAR with the ID of the sidebar you created at Admin > Appearance > Sidebars. Then go to Admin > Appearance > Widgets to add widgets to that sidebar.
Hope this helps.
February 7, 2017 at 6:38 am #1361042
BionicTimParticipantThanks for your help.
February 7, 2017 at 6:46 am #1361059
ThaiModeratorYou’re most welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1340081 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
