- This topic is empty.
-
AuthorPosts
-
April 27, 2012 at 5:44 pm #37820Jon_NParticipant
Hey guys,
I can’t figure out why my site isn’t showing the full content of the page. The site is built on WordPress. It use to work perfectly but now it isn’t. It isn’t just a problem with this page it is the whole category, none of the “posts” listed under the “specials” category are showing up.
This is what I mean. scroll to the footer of the page and click on the first post under “Marty’s Specials”
Let’s see what level of skill there is out there… (I bet I’m setting myself up to find out it’s an extremely simple fix, that’s ok though because I can’t figure it out myself)
April 27, 2012 at 5:47 pm #101912TheDocMemberI’m guessing your single.php file isn’t including the proper files.
April 27, 2012 at 8:44 pm #101924SenffParticipantI’m guessing it’s the PDf 24 plugin that is active on this page, or a problem with the actual content on it: http://www.metalmart.biz/building-this-spring/
This post works fine: http://www.metalmart.biz/metal-roof-hemming-a-panel-video/ which leads me to believe there’s nothing wrong with single.php (or loop-single.php)
April 30, 2012 at 12:51 pm #102008Jon_NParticipantStill not understanding the problem.
April 30, 2012 at 1:05 pm #102011Jon_NParticipantThe admin edit bar doesn’t even show up at the top of these pages when I’m signed in. It’s very strange. I really need help…anyone?
April 30, 2012 at 1:25 pm #102013SenffParticipantDid you try disabling the PDF24 plugin?
April 30, 2012 at 1:46 pm #102014April 30, 2012 at 1:59 pm #102015TheDocMemberPlease post your single.php.
April 30, 2012 at 2:36 pm #102020Jon_NParticipant@TheDoc Here it is
$post = $wp_query->post;
if ( in_category('8') ) {
include(STYLESHEETPATH . '/single-salesProfile.php');}
else if ( in_category('20') ) {
include(STYLESHEETPATH . '/single-blog.php');
}
else if ( in_category('7') ) {
include(STYLESHEETPATH . '/single-specials.php');
}else {
include(STYLESHEETPATH . '/single-main.php');
}
?>April 30, 2012 at 2:39 pm #102021Jon_NParticipantAnd here is the single-specials.php
global $options;
foreach ($options as $value) {
if (get_option( $value ) === FALSE) {
$$value = $value;
} else {
$$value = get_option( $value );
}
}?>
Posted:
#comments-wrap" class="comments-link">
IMPORTANT NOTICE:
To better serve you, our customer, please call for current availability of inventory.
Quantities change hourly. Inventory quantities are correct as of date posted. Prices listed are FOB: METALMART Lehi, Utah-Cash & Carry only. Delivery is available and can be arranged at additional cost. The flyer must be presented to cashier at time of purchase. Items are sold "AS-IS". PRICES SUBJECT TO CHANGE AT ANY TIME WITHOUT ANY PRIOR NOTICE; THE PRICES IN THE AD WILL BECOME INVALID. FOR ACCURATE PRICING, PLEASE CALL TO VERIFY PRICE AND QUANTITIES. A MINIMUM ORDER MAY BE REQUIRED ON SOME ITEMS.
April 30, 2012 at 3:25 pm #102024SenffParticipantIs this proper code in single-specials.php?
= expireDate(); ?> daysLeft(); ?>
I’m not a PHP expert so
=
may be a way of writing things that's unknown to me, but I'm pretty that's where the problem is and that you intended to write something like this:April 30, 2012 at 4:49 pm #102027TheDocMemberI think Senff has got it!
May 1, 2012 at 10:31 am #102075Jon_NParticipantThat didn’t do it :( so sad.
May 1, 2012 at 10:37 am #102076SenffParticipantMaybe those variables aren’t defined, remove them to check what happens…. Change this:
Posted:
Into this:
Posted:
May 1, 2012 at 12:09 pm #102084 -
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.