doc4
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Removing Footer Textsilky8000,
Have you tried just removing the name “Site Now” and see what happens?
Forum: Fixing WordPress
In reply to: Grouping posts in pairsfornoone,
Take a look at this post: https://www.ads-software.com/support/topic/how-to-modify-loop-to-split-posts-into-groups-of-threes
Forum: Fixing WordPress
In reply to: Removing Footer Textsilky8000,
Hopefully I’m not treading on any toes here.
This looks like a fairly easy thing to do, just delete the following code snippet:
<a href="https://www.site-now.co.uk">Web design</a> by Site Now
Give that a try and let me know if it works or not.
Forum: Fixing WordPress
In reply to: Confused with The LoopWait a minute, I just realized to make this work we probably need to tell the page what categories we are specifically wanting to see. So you would normally split this page into several IF/THEN statements. IF category 1 show posts from category 1. Then another loop for another category.
Try this, hopefully my code is somewhat sound. Replace the two names of the categories with the categories you’re wanting to display.
<?php if (in_category('1')) { $category_name = 'your_category_name'; } else if (in_category('2')) { $category_name = 'your_second_category_name'; } query_posts( "category_name=$category_name&posts_per_page=3"); ?> <?php while (have_posts()) : the_post(); ?> <div class="maincontents-categories"> <p><?php the_title(); ?></p> </div> <?php endwhile; endif; ?>
Forum: Fixing WordPress
In reply to: Confused with The LoopYou probably have the max posts set to ten under settings which is why you’re seeing ten total.
Anyway try this:
<div id="content-categories"> <?php query_posts('showposts=3'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="maincontents-categories"> <p><?php the_title(); ?></p> </div> <?php endwhile; endif; ?>
Yes, I realize this is basically what you had before.
Forum: Fixing WordPress
In reply to: Confused with The LoopOkay, hang on a second
Forum: Fixing WordPress
In reply to: Confused with The LoopOkay, save your code in a text editor and replace it with this just to see if it’s working. I’m trying to get rid of anything not related and break this down to the basics. Leave the header and footer code of course but if you have another loop remove it for now.
<div id="content-categories"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="maincontents-categories"> <p><?php the_title(); ?></p> </div> <?php endwhile; endif; ?>
Forum: Fixing WordPress
In reply to: Confused with The LoopTry this just to see if it separates the posts:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
Forum: Fixing WordPress
In reply to: my blog is all wackyI’m getting Forbidden, is this the problem or have you taken it down?
Forum: Fixing WordPress
In reply to: URL Beyond Category PageSince each category has it’s own php page you shouldn’t have trouble making any one of them the parent page of a new page. Create the new page and be sure to add a parent in the right side dropdown, typically under the save area.
Forum: Fixing WordPress
In reply to: Confused with The LoopMight be a little overkill but try this and let me know if it works:
<?php $my_query = new WP_Query('showposts=3'); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate[] = $post->ID ?>
Almost forgot, end it with this:
<?php endwhile; ?>
instead of what you currently have.
Forum: Plugins
In reply to: [IE6 Upgrade Option] Several CSS errorsWow, I’ll take a look at this.
Thanks
Forum: Plugins
In reply to: [IE6 Upgrade Option] Doesn't work on wordpress 3.5.1I’m looking into this now.
Forum: Plugins
In reply to: [Multicons [ Multiple Favicons ]] Feature request: apple touch precomposedResolved
Forum: Plugins
In reply to: [Multicons [ Multiple Favicons ]] Getting error messageResolved