[SOLVED] Pages no longer display
I made a bunch of changes and now my pages are not displaying.
I will go through each change and back it out to see which one is causing the problem, but if you have any other suggestions I am all ears. http://alittlesewing.com The changes I made: 1. Get rid of little arrows next to the Social Share Icons below the post: Dashboard >Appearance >Montezuma Options >CSS Files >content.css Scroll down and find "Unordered Lists in posts and comment bodies". There are two lines in there that add the arrows - delete them: background: transparent url(%tpldir%/images/icons.png) -48px -84px no-repeat; background: transparent url(%tpldir%/images/icons.png) 0px -48px no-repeat; 2. Suppress display of featured image: Dashboard >Appearance >Montezuma Options >Sub Templates >postformat.php Remove this line from postformat.php: <?php bfa_thumb( 620, 180, true, '<div><div>', '</div></div>' ); ?> 3. Display full post, not excerpt: Dashboard >Appearance >Montezuma Options >Sub Templates >postformat.php Find <?php bfa_excerpt( 55, ' ...' ); ?> Change that to: <?php get_content(); ?> *AND* edit php file as follows: Dashboard->Appearances->Editor Under Templates, find parse_php.php Change the HTML on line 35 of the parse_php.php file, from: if (have_posts()) to if (is_single() AND have_posts()) 4. Change the wording on the link to comments. Dashboard >Appearance >Montezuma Options >Sub Templates >postformat.php Towards the bottom, look for: <?php _e( 'Read more →', 'montezuma' ); ?></a> Where it says Read more, change to Replies 5. Remove the RSS icon from the top right hand corner of the Home page, because it overlaps the blog title on a mobile device. Dashboard >Appearance >Montezuma Options >Sub Templates >header.php Remove: <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php _e( 'Subscribe to RSS Feed', 'montezuma' ); ?>"></a> 6. Remove the navigation tabs between pages above the blog post Dashboard >Appearance >Montezuma Options >Main Templates >index.php Remove: <?php bfa_content_nav( 'multinav1' ); ?> 7. Force the text to align with the date Dashboard >Appearance >Montezuma Options >CSS Files > posts.css go to the POSTBODY section, find this HTML statement and add this margin-top: 0px; to it. Before: HTML Code:
.post-bodycopy p { HTML Code:
.post-bodycopy p { |
This is the change that makes my pages not display- can you suggest a change?
Dashboard->Appearances->Editor Under Templates, find parse_php.php Change the HTML on line 35 of the parse_php.php file, from: if (have_posts()) to if (is_single() AND have_posts()) |
Oops, change that line from
HTML Code:
if (have_posts()) HTML Code:
if ((is_single() OR is_page()) AND have_posts()) update: see PATCH 113-03: Using 'the_content()' in a virtual template may incorrect results |
yep, that did it! thank you!!
|
All times are GMT -6. The time now is 08:02 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.