Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] Pages no longer display


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 5, 2013, 04:47 PM
RobinDenning
 
12 posts · Dec 2012
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 &rarr;', '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 {

}
After:

HTML Code:
.post-bodycopy p {
    margin-top: 0px;
}
  #2  
Old Jan 5, 2013, 04:57 PM
RobinDenning
 
12 posts · Dec 2012
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())
  #3  
Old Jan 5, 2013, 06:13 PM
juggledad's Avatar
juggledad
 
22,191 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Oops, change that line from
HTML Code:
if (have_posts())
to
HTML Code:
		if ((is_single() OR is_page()) AND have_posts()) 
and see what that does.


update: see PATCH 113-03: Using 'the_content()' in a virtual template may incorrect results
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jan 6, 2013 at 02:12 PM.
  #4  
Old Jan 5, 2013, 06:41 PM
RobinDenning
 
12 posts · Dec 2012
yep, that did it! thank you!!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Favicon doesn't display on all pages GreenUmbrella Header configuration & styling 1 Sep 7, 2010 07:39 AM
[SOLVED] Pages no longer displaying? kal Installing & running WordPress 1 Jul 31, 2010 03:27 PM
Still looking for help getting posts and pages to display. tigger32382 Atahualpa 3 Wordpress theme 9 Dec 14, 2009 04:41 PM
Author Pages (again) - display bio, links, etc? theangryblackwoman Atahualpa 3 Wordpress theme 1 Jun 10, 2009 08:37 AM
How to make the Pages display in sidebar, show only the Parent Main Pages Leoni Sidebars & Widgets 2 May 27, 2009 12:13 AM


All times are GMT -6. The time now is 10:23 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.