Neil De Souza
Forum Replies Created
-
Forum: Themes and Templates
In reply to: All posts not being displayed after W3 Total CacheForum: Plugins
In reply to: [W3 Total Cache] All posts not being displayed after W3 Total CacheFixed. The problem it seems was in the Loop.
I had the following code to retrieve posts from a particular category
<?php if ( in_category( 'articles' ) ?>which was fetching only 3 posts per page. Funny stuff, dunno how it happened. I have 10 posts per page setup in the General Settings.So I had to change the code to
<?php if ( is_home() ) { query_posts($query_string . '&cat=4'); }This seems to work.
Forum: Plugins
In reply to: [W3 Total Cache] All posts not being displayed after W3 Total CacheAnything?
Forum: Themes and Templates
In reply to: Help with CSS content/article font sizeIn your code you have
<div class="postcontent">which contains the body of your text. The<p>breaks your text inside this to paragraphs.Your CSS should read
.postcontent p { //style something }Forum: Themes and Templates
In reply to: Autofocus theme – images showing twice in post pageOf course you can. WordPress is full customizable using CSS.
A word of caution though, you should make a copy of the site locally on your computer as a testing server. That way, your site will stay live till you sort out all your design elements.
Requires getting your hands dirty with HTML and CSS. But a good learning experience if you’re upto the challenge.
Check this link for how to get this done…
http://codex.wordpress.org/Test_Driving_WordPressForum: Plugins
In reply to: [W3 Total Cache] All posts not being displayed after W3 Total CacheThanks for the response Chris.
Yes, both live and local servers are running 3.1.
I tested it first on the local and then upgraded the live server. However, this problem occurred before I moved to 3.1Both servers have the same posts. I have a plugin on another page – http://www.mediate-oman.com – which actually picks up these posts and displays them in the space, so I know that the database fetch is working.
Don’t want to revert to the default TwentyTen theme and test coz the site is already live. But it looks like it has to be done that way.
Any help will be much appreciated
Forum: Themes and Templates
In reply to: Autofocus theme – images showing twice in post pageI think you’re also adding the image to the post entry.
Not sure how this works but I assume that you should only include the image as a ‘Featured Image’ when adding from the Media Library and not add it into the post.
You can try to remove the image from the post entry and check if this works.
Forum: Themes and Templates
In reply to: Remove link?You can try to remove it out from your dashboard.
Appearance > Menus
Difficult to say without looking at the site structure
domainpubber – Don’t forget to resolve this topic
OK. I managed to resolve the issue with a change in the code in the feature_slideshow_body.php
$fs_height = ($feature_slideshow_settings['numberposts'] * 81) - 1; $fs_width = $feature_slideshow_settings['width'] - 287; $posts = get_posts("numberposts=" . $numberposts . "&orderby=" . $orderby . "&post_parent=" . $post_parent . "&post_type=" . $post_type . "&category=" . $category . "&tag=" . $tag); $my_query = new WP_Query('category_name=featured&posts_per_page=4'); if($posts) { while ($my_query->have_posts()) : $my_query->the_post(); setup_postdata($post); $return .= '<li> <a href="' . get_permalink($post->ID) . '"> <h3>' . get_the_title($post->ID) . '</h3> <span>' . feature_slideshow_excerpt(12) . '</span> </a> </li>'; endwhile; }As you can see I have replaced the
foreachloop with awhileloop which gave me better control over the presentation. I also had to hard code the category name featured into theWP_queryLet me know if this works for you’ll guys as well. Good luck. Thanks.
Hi. By any chance have you managed to resolve this issue?
Forum: Your WordPress
In reply to: Mid-size daily newspaper site on WordPressThis is a nice and simple website.
I’m personally designing a website for a weekly paper on wordpress. Let’s see how it goes.
Forum: Themes and Templates
In reply to: newsprint theme?IHT does the 3-column layout with the help of some snazzy JavaScript. It’s really cool actually.
The script itself is located here
To use it look into the source code at the particular page.
BTW, its proprietory code so be careful.