- This topic has 9 replies, 3 voices, and was last updated 9 years, 6 months ago by 
Sakin.
 
- 
		AuthorPosts
 - 
		
			
				
November 7, 2015 at 9:39 pm #79278
orim
MemberHello,
I can see my sidebar only in pages but not in posts.
I found this thread but the solution didn’t work for me because I didn’t find “Optional Post Sidebar” in “Appearance => Widget”.
HOWEVER
It is not just the sidebar that is missing in posts. It is also FOOTER and BACK-TO-TOP-BUTTON. It is quite strange really.
I’ll be grateful for any help.
This is the site: http://eshop.byethost33.com/
And HERE is a POST (with missing elements): http://eshop.byethost33.com/ale-no-nehovor/November 7, 2015 at 10:01 pm #79279orim
MemberI just found out that there’s another thing missing in posts. COMMENT FORM!
There’s a check in the “Allow comment” check box at all posts but the comment form won’t appear.November 8, 2015 at 12:05 am #79293Sakin
Keymaster@orim: Looks like you have edit core theme files and can you check your
single.phpfile with this file https://themes.svn.wordpress.org/catch-base/2.5/single.php. You must have deleted code there.November 8, 2015 at 3:42 am #79302orim
MemberHello Sakin,
that was the first thing I cheked. I compared single.php to page.php for any differences but there were none. That’s why I don’t get this at all.I thought I would just add get_sidebar and get_footer lines there and that would be it but sadly, that was not the case.
My single.php file looks like this:
<?php /** * The Template for displaying all single posts * * @package Catch Themes * @subpackage Catch Base * @since Catch Base 1.0 */ get_header(); ?> <main id="main" class="site-main" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'single' ); ?> <?php /** * catchbase_after_post hook * * @hooked catchbase_post_navigation - 10 */ do_action( 'catchbase_after_post' ); /** * catchbase_comment_section hook * * @hooked catchbase_get_comment_section - 10 */ do_action( 'catchbase_comment_section' ); ?> <?php endwhile; // end of the loop. ?> </main><!-- #main --> <?php get_sidebar(); ?> <?php get_footer(); ?>…and I pretty much think it’s exactly the same as the link you posted above.
WHERE’S THE RUG?
November 8, 2015 at 3:48 am #79303orim
MemberWELL, I’LL BE DAMNED !
It’s been miraculously sorted out. 🙂
I have just upgraded WP and it works like a charm. I’m pretty sure I’ll have dreams about this tonight… it’s above my powers to understand but it doesn’t matter.
It works!
Lovely!
Thank you for all your good work, Sakin.Have a great Sunday.
orim
November 8, 2015 at 1:25 pm #79329May 6, 2016 at 9:34 am #91124gaiabee
Participant@sakin: Hi there – sorry I’m adding to this thread rather than starting a fresh one, but I couldn’t find a place to do it. (guidance appreciated).
Well, I’m haven a lot of fun playing with my new site (www.voicesoftheselves.com).
I’m keeping it pretty simple (4 pages), but I just noticed that some of my pages display my primary sidebar and others don’t. Ideally, I would have control of which pages it shows up (e.g. YES on the homepage and a contact page I want to create, NO on other pages) but I don’t know if that’s an option (I couldn’t find one in the customize settings). I’m new to WP and eager to learn, but still a newbie 🙂
Your help would be appreciated! Thanks!May 6, 2016 at 12:16 pm #91128Sakin
Keymaster@gaiabee: In you are confusing about how to post in new topic, then check out https://www.youtube.com/watch?v=ex9rByi_a3Q
Yes, you can control layout from two places:
1. For overall layout, you need to go to “Appearance => Customize => Theme Options => Layout Options”
2. Then you can also change it in individual page/post. For that, just edit page/post which you want to edit. Then below your content editor, you will see “Clean Box Options” meta box, there you can click on “Layout Options” and change as per your need.May 6, 2016 at 12:39 pm #91130gaiabee
ParticipantThank you! Silly I missed that!
Appreciate your quick response very much 🙂
I’ve already benefitted so much from your replies to others (for changing header colors, bolding, etc.)
Take care!May 6, 2016 at 9:35 pm #91155 - 
		AuthorPosts
 
- The topic ‘Sidebar missing in a POST’ is closed to new replies.
 
