Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] Pages no longer display


  #1  
Old Jan 5, 2013, 04:47 PM
RobinDenning
 
12 posts · Dec 2012
[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 &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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
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 06:58 AM.


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