marc0047
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Posts_nav_link now won’t show upI’m creating a different page altogether, and it also doesn’t reside in the Themes folder. I have the page residing in the root directory of the WP folder.
Is there a way to write a proper query that will make it function for this page?
Thanks.
Forum: Fixing WordPress
In reply to: Posts_nav_link now won’t show upI tried the following again on a fresh WP database and it worked:
<?php
$page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
query_posts(“cat=3&showposts=2&paged=$page”);
?>However, whenever I selected any of the categories, it didn’t isolate the page according to the categories. The pages reloaded but with the same content, and the posts_nav_link content disappeared.
Forum: Fixing WordPress
In reply to: “cgi-system/php.cgi was not found on this server”This is what is in my navigation div:
<div class=”navigation”>
<div class=”alignleft”><?php posts_nav_link(”,”,’« Previous Entries’) ?></div>
<div class=”alignright”><?php posts_nav_link(”,’Next Entries »’,”) ?></div></div>
Forum: Fixing WordPress
In reply to: “cgi-system/php.cgi was not found on this server”Forum: Fixing WordPress
In reply to: Posts_nav_link now won’t show upSyllani –
If you don’t mind, please post your version of the code. It would be helpful for me to check for inconsistencies.
Thanks.
Forum: Fixing WordPress
In reply to: “cgi-system/php.cgi was not found on this server”What I had done was I moved the directory. And I thought I had taken care to adjust all the MySQL variables, but maybe I didn’t?
Any other tips based on that clue? Thanks for responding.
Forum: Fixing WordPress
In reply to: Dreamhost: Run PHP as CGI? or PHP Version 5?I ran the test just to see what would happen, and you’re right, all sorts of messed up!
But it’s still good to know what’s recommend. Thank you!
Forum: Fixing WordPress
In reply to: Posts_nav_link now won’t show upThanks Kafkaesqui.
Actually, the posts_nav_link doesn’t show up at all. The content, such as ‘previous’ and ‘next’ don’t show up at the bottom of the page, as you can see here.
I went ahead and plugged in the code you suggested to see if it would solve both the content appearance and functionality, but I can’t get it to show up at all.
If you have any other suggestions, I would greatly appreciate it!
Forum: Fixing WordPress
In reply to: Can’t get the posts_nav_link to appear with query_postsDoing the $posts as $post technique would have been really nice to use, but unfortunately it didn’t work. The ouput were posts with just the titles (but also as links to the actual story), and the navigation still failed to show up. But that’s still a good trick to know! Thanks!
I’m also not keen on using the plugin because I’m creating these other pages by hand code as opposed to using WP’s Pages.
‘&paged1’ also unfortunately didn’t work.
More suggestions would be great!
Forum: Fixing WordPress
In reply to: Drop Down Categories buggy in MSIE?Here are two snapshots combined into one:
https://you.minus.ws/HelpMe/dropdowncats.gif
The top half is a snap of MSIE 6 plus the code that is rendered. The bottom half is a snap of how it ought to appear, as it does in Mozilla.
Here is the PHP call:
<!– Drop down box style of categories –>
<form id=”catdropdown” name=”catform” action=”/index.php”>
<select name=”cat” onchange=”submit(this.form)”>
<option value=”>By Topic</option>
<?php dropdown_cats(); ?>
</select>
</form>Forum: Plugins
In reply to: Front-To-MyPage plugin?Thanks! Can’t believe I missed that article!
Forum: Fixing WordPress
In reply to: Customizing my Category list just a little bit moreSo close! Thanks. How she contained them will be very helpful.
I still need to figure out how the parent categories can be swapped out with image text.
Forum: Fixing WordPress
In reply to: Create my own static pages outside the Admins menu?Thanks for the lead. It lead me to discover that you can in fact do it:
Rather than create pages through the interface of WP, I created my own ‘about.php’ file in the root WP directory. This is the code inside ‘about.php’:
<?php
require(‘./wp-blog-header.php’);
?>
<?php get_header(); ?>Delicious About content
<?php get_footer(); ?>
As long as I include the require tag to call ‘wp-blog-header.php’ it seems to be all good. But I need to know more about what is ‘wp-blog-header.php’ to anticipate any future problems!
Forum: Fixing WordPress
In reply to: Visually separating Categories into different headingsI have another question regarding this topic, but am unsure where to look for it in the wiki docs. If anyone can point the way, it would be greatly appreciated!
Is there a way to call the top level categories (ie. Fruit, Animal) in the php code individually? So for example, I would like to have a single entry that has the following:
1. Title
2. Body content
3. Related subcategory links fo the Fruit category only: Apple, Banana(Meanwhile the sidebar will always have the full list of search capability).
Thanks.
Forum: Fixing WordPress
In reply to: Visually separating Categories into different headingsOh my goodness. Thank you! You helped me figured it out:
<?php list_cats(
false, /* optionall */
”, /* all */
‘id’, /* sort column */
‘asc’, /* sort order */
”, /* file */
true, /* list */
false, /* optiondate */
false, /* optioncount */
false, /* hide_empty */
true, /* use_desc_for_title */
true, /* child_of */
false, /* categories */
”, /* recurse */
false, /* feed */
”, /* feed_img */
”, /* exclude */
‘1, 33’,/* hierarchical */
true <b>/* What is this? */</b>
); ?>By the way what is that last argument for? I can’t seem to find it in the documentation.
Thanks again!