hedonplay
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Understanding WordPress Flow – from URL to pagevery interesting question!
I am also very confused with the WP overflow.
Forum: Plugins
In reply to: Uncategorized SlugHey, You are welcome.
Forum: Installing WordPress
In reply to: htaccess rewrite “uncategorized” in urlHi rawhudson, fortunately, there is a plugin for you.
Visit http://urbangiraffe.com/plugins/advanced-permalinks/ and take a loot at the Advanced post permalinks
Best regards
Forum: Plugins
In reply to: Uncategorized SlugHi robertark, fortunately, there is a plugin for you.
Visit http://urbangiraffe.com/plugins/advanced-permalinks/ and take a loot at the Category-specific permalinks
Best regards
Forum: Fixing WordPress
In reply to: WordPress page linking to a specific Category of postsTo reveal your category or post or page ids, try the plugin, Reveal IDs for WP Admin.
Your code needn’t to be that complicated for a single page. What you need is to make a new file called page-PAGE_ID.php where PAGE_ID should be replaced by the id of giveaways which is available in your dashboard once the plugin I mentioned above is installed.
Then you include the header.php, the sidebar.php etc. Pay attention to the loop.
<?php query_posts('cat=giveaways&showposts='.get_option('posts_per_page')); ?>
In this line, cat=CAT_ID, which you can get it in the same way with PAGE_ID.Try again and make your code more readable.
Forum: Fixing WordPress
In reply to: sidebar disappears manytimesplease check your HTML structure, probably some </div> are not there where they should be.
Forum: Fixing WordPress
In reply to: Error Uploading ImagesI thinks your should set your default uploads directory as the following one, /wp-content/uploads/
Pleas go to your WP dashboard->setting->miscellaneous and reset it as default
Forum: Fixing WordPress
In reply to: cannot modify header warning??Many people make this mistake when they modified the function.php
The following article makes a clear explanation.http://www.hui-wang.info/2009/07/warning-cannot-modify-header-information-headers-already-sent/
Forum: Fixing WordPress
In reply to: Displaying categories conditional on their parent-cat?<?php wp_list_categories(‘child_of=112&title_li=’) ?>
you missed the “;” in the end.
Forum: Fixing WordPress
In reply to: Permalinks, duplicate posts and incrementationHello, I write an article Duplicate post name in WordPress to solve this problem.
Hopefully it will work for you.
Forum: Fixing WordPress
In reply to: Permalinks, duplicate posts and incrementationHello, please be patient.
I think it’s possible to add a filter to solve this problem.
I will let you know as soon as I figure it out.
Forum: Fixing WordPress
In reply to: Permalinks, duplicate posts and incrementationCould you show us how the post_name is incremented?
As I know, in the wp_posts table, the filed is set to be auto-increment is only ID.
Forum: Fixing WordPress
In reply to: wordpress broken after 2.8.4 installHave you ever modified the file aioseop.class.php mentioned in the warning.
Forum: Fixing WordPress
In reply to: Hiding Grandchildren pages in sub-navYou can use the parameter “depth” to control your page levels.
So to get rid of the grandchildren, the code may look like this
<?php if($post->post_parent) $children = wp_list_pages("title_li=&depth=2&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&depth=2&child_of=".$post->ID."&echo=0"); if ($children) { ?> <div id="subnav"> <ul class="subnav"> <?php echo $children; ?> </ul> </div> <?php } ?>Forum: Fixing WordPress
In reply to: MySQL query to search posts and change categories?Well Done, Andrew!
I have also archived my goal which is to move the posts in a different CMS’s database into the WP’s.
Cheers!