lexavision
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Getting Sorry, but no posts matched your criteriaWell,
I hired a consultant to fix this. She very good and affordable.
Here the solution:
Basically, WordPress looks for certain templates in a cascading fashion,
meaning that when there’s a request for one kind of page, like a single post
page, it first looks for a single.php template page to use to display the
single post, and in the absence of it, it uses the index.php page.
This allows a WordPress template developer to customize their templates with
template files that specifically address certain types of pages and
requests. When you tried to modify the query code, the code that pulls the
posts, you were doing it right, BUT, when WordPress went to display a single
post, it looked to that index.php template file he edited. Since it was
edited with a new query, the single post wasn’t being displayed.
By adding a single.php file, without the modified query, it worked as it
should.The query_posts was also modified in the index.php
<?php query_posts(array(‘cat’ => ‘3,5,6,7’, ‘posts_per_page’ => 15, ‘paged’ => $paged)); ?>
Forum: Fixing WordPress
In reply to: Getting Sorry, but no posts matched your criteriaBy “Can I escalate this?” I mean can this be put into the advanced forum?
Apparently, I’m the only one with this issue.
I have since pinged a few WordPress experts for consultation services.
I certainly appreciate your response.
Forum: Fixing WordPress
In reply to: Getting Sorry, but no posts matched your criteriaModerator?
Can I escalate this?
Forum: Fixing WordPress
In reply to: Getting Sorry, but no posts matched your criteriaI cuurently have my permalinks set to Month and name.
When I change to default (ID’s) the posts work fine. However this breaks my static pages and I don’t want to use ugly permalinks.
Forum: Fixing WordPress
In reply to: Getting Sorry, but no posts matched your criteriaNo. Setting the “Blog pages show at most” to 15 doesn’t work.
It shows posts that are not in chronological order and duplicate posts.
Thus, I’m forced to use the <?php query_posts($query_string.’cat=3,5, 6&posts_per_page=15′); ?> code in my index file.
Do you have an older copy of the template file that doesn’t use your query_posts fix?
No. This is my first attempt at trying to break my page out into multiple pages.
Forum: Fixing WordPress
In reply to: Getting Sorry, but no posts matched your criteriaHi esmi,
I have 30 posts. I want to dispaly at most 15 on teach page so the page is not so big. Setting the “Blog pages show at most” to 15 doesn’t work as I’m getting dupicate posts.
Using: <?php query_posts($query_string.’cat=3,5, 6&posts_per_page=15′); ?>
Seems to solve that issue, but the side affect is that when you click on the posts I get the “Sorry, but no posts matched your criteria”
message for all posts.Forum: Fixing WordPress
In reply to: Blog pages show at most issueGit it!!!
<?php query_posts($query_string.’cat=3,5,6&posts_per_page=10′); ?>
Forum: Fixing WordPress
In reply to: Blog pages show at most issueOk… I have my first page displaying the way I want.
Using:
<?php query_posts(‘cat=3,5,6&showposts=10’); ?>However the second page is display the exact same posts as the first (Home)page.
Any Ideas?
Forum: Fixing WordPress
In reply to: Blog pages show at most issueBasically I want to have 10 posts per page in chronological order regardless of category. Is this possible?
Forum: Fixing WordPress
In reply to: Sidebar Pages Not displayingI figured it out!!!
Forum: Fixing WordPress
In reply to: Apply Permalinks only to certain pagesJust looking to change some pages to SEO friendly ones. Still trying to figure out how permalinks work. I’ve tried to use pretty URL’s but it still displays the page ID’s on most of the pages.
/%category%/%postname%/ will change my nav pages “About” and “Partners” but that’s about it.
Forum: Fixing WordPress
In reply to: List PagesPerfect!
Thanks again stvwlf.
Forum: Fixing WordPress
In reply to: Stick this post to the front page issueAAAAAHHHH!
I must have set that to static when I first started the blog.
It’s all good now! Thanks a bunch.
Forum: Fixing WordPress
In reply to: Stick this post to the front page issueNSFW
***WARNING – ADULT CONTENT***
The blog link is https://www.sexynudemuscle.com
The posts links wich are not posting on the main page are:
https://www.sexynudemuscle.com/?p=327
https://www.sexynudemuscle.com/?p=270I have content on the main page but hey are not posts. They are hard coded links, images and text.
Just to summarize. When I’m in the Themes area and click on default I can see the posts. When I activate the default, the posts are not there.
Thanks!
Forum: Fixing WordPress
In reply to: Stick this post to the front page issueWhen I view the page in both the default theme and the theme that was created for me the posts show up.
When I acivate each theme the posts do not show.