alinam
Forum Replies Created
-
Forum: Installing WordPress
In reply to: No option to display page?make sure to check that you still have the pages.
I just had the same problem. I had to move the database location of a WP 2.3.3 website, and upgrade it to 2.5 . Ok, I created the database at the new location and imported it, edited the “home” and “siteurl” options directly there, and proceded with the settings. however the option to display a certain front page wasn’t there… I finally looked at the code, and noticed it checks if there are pages. knowing I did have pages, I went to ensure that, and discovered that I didn’t have my pages anymore…
what solved the problem was dropping the database entirely and re-making it as Collation, instead of what I had chosen previously, and then the import worked correctly. pages are there, and (surprise surprise) the “Front page displays” option is there as well.
might be a long shot, but worth checking.
Forum: Fixing WordPress
In reply to: Paging Issue on Category TemplateTry this:
<?php query_posts($query_string.‘category_name=Portfolio&showposts=8’); ?>
Forum: Fixing WordPress
In reply to: query_posts breaks pagingI’ve had the same problem for a bit, but have found the solution (which worked for me, and in theory should work for you as well). It is in fact mentioned in the query_posts tag page – but only once.
Place a call to query_posts() in one of your Template files before The Loop begins. The wp_query object will generate a new SQL query using your parameters. When you do this, WordPress ignores the other parameters it receives via the URL (such as page number or category). If you want to preserve that information, you can use the variable $query_string in the call to query_posts().
As an example:
<?php query_posts($query_string.‘&cat=4′); ?>
Note the use of ‘&’ at the start of the quoted portion of the argument.
Hope that helped.