radiofranky
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: how to include posted with wp_list_pages?thanks. I got resolved with wp_query. ??
Forum: Plugins
In reply to: how to set different style for each of te wp_list_pagesworks perfectly.. thanks
Forum: Plugins
In reply to: how to set different style for each of te wp_list_pagesthanks. I tried your suggestion but I don’t think it works.
<ul class=”this_page_list”>
should it be “id”?
thanks
Forum: Plugins
In reply to: [Plugin: NewPosts] cookie is not working perperly on firefoxi modified the plugin and now it shows “new” if the post is within a certain date. ??
Forum: Themes and Templates
In reply to: how others do not steal my themesif you’re afraid people stealing your theme. Just dont’ use it! ??
sharing is good…
Forum: Fixing WordPress
In reply to: how to limit number of page to display with WP_Query?splendid… thanks
Forum: Fixing WordPress
In reply to: Getting Short Code to with get_page functionForum: Fixing WordPress
In reply to: Getting Short Code to with get_page functionI was wondering how do you limiting the page to display?
also, limiting display no child or grandchild?thanks
Forum: Fixing WordPress
In reply to: Why do I get questions marks in diamonds whenever I move servers?HI,
I’m getting this weired % in permalink and i’m using utf-8thanks
Forum: Plugins
In reply to: is possible to make “page attributes” collapsible?Hi Michael,
I’m using asian characters and the title are in UTF-8.this is what i see: https://localhost/kang-she/2010-01-12-%e6%88%91%e5%80%91%e7%9c%9f%e7%9a%84%e6%98%af%e5%a5%bd%e6%9c%8b%e5%8f%8b-%e7%be%85%e5%bf%97%e7%a5%a5-%e6%a5%8a%e4%b8%9e%e7%90%b3/part-1/
do you know why is like this? I thought UTF-8 should have take care of it.
thanks
Forum: Plugins
In reply to: is possible to make “page attributes” collapsible?thanks. I have try it. But it doesn’t do anything with
admin -> page -> attributes -> parent listing
I have like 100 parents and 500 childs. It’s hard if the tree is not collapsible.
the list could be very long..
I’m using cmd tree view
Forum: Plugins
In reply to: get_pages and limiting number of child pages displayedi got it working
<?php wp_list_pages(‘title_li=&depth=1&child_of=1119&sort_column=post_date&sort_order=desc&number=10’); ?>
Forum: Plugins
In reply to: get_pages and limiting number of child pages displayedI’m using the following code to display “child”. i was wondering is there a way not to display “grandchild”? I didn’t see any option for it.
thanks
<?php $count = 0; $pages = get_pages('child_of=1119&sort_column=post_date&sort_order=desc'); foreach($pages as $page) { $count++; if ( $count < 50) { // only process 10 ?> <div class="main_post_listing"> <a href="<?php echo get_page_link($page->ID) ?>"><?php echo $page->post_title ?></a><br /></div> <?php } } ?>
Forum: Fixing WordPress
In reply to: listing pages that are 2 levels up<?php $ancestors = get_post_ancestors($post->ID); if ($ancestors) { $ids = implode(',', $ancestors); wp_list_pages('depth=1&title_li=&child_of='.$ancestors[count($ancestors)-1]); } ?>
it’s workgin finally… thanks
Forum: Fixing WordPress
In reply to: listing pages that are 2 levels upwith depth =2 it will only display “blog” not “blog child”
and with
.$ancestors[count($ancestors)-0]
it will display every “blog” and their “blog_child” and “blog_grandchild”