Articles of listing

Listing all sub-pages?

I’m wondering how to write a list of sub-pages of actually visited page. So I have 2 pages and 3 sub-pages for each: Colors [page] – Red [child of Colors – subpage] – Blue [child of Colors – subpage] – Green [child of Colors – subpage] Numbers [page] – One [child of Numbers – subpage] […]

Latest posts by category — how to exclude current post?

This is the code I use to display the 4 most recent posts under the category the current post belongs to (right below the current post): <?php if (is_single()) : ?> <?php $count = 0; $aahan_category = get_the_category(); $aahan_category = get_term_by( ‘name’, $aahan_category[0]->cat_name, ‘category’); $some_featured_posts = new WP_Query(array(‘category_name’ => $aahan_category->slug, ‘posts_per_page’ => 4)); while ($some_featured_posts->have_posts()): […]

Show Custom Taxonomy Categories, Listing of Posts, and Single Post via AJAX

I need to be able to do the following: List all terms in a custom taxonomy (categories for custom post type) When a user clicks on a category, a listing of all posts in that category appears When a user clicks on a post, that individual post content appears This needs to be done via […]

How to use WP default post list tables in a plugin?

I’m developping a plugin to manage a base of users and I’d like to show them in the same type of table used in other parts of the WP admin (post lists, user lists, etc.), I’d like to have the same look and the if possible the column sorting too.

How to create custom post listing in the admin?

I want the defult CPT listing to include not all posts but only some, according to a specific taxonomy. is there a way to do that ?

Category Thumbnail Display – How to display ONLY the main Category

I am using the eList wordpress theme. Now on the main page, there is a thumbnail display of all the categories listed. Now, on the theme you will see that they have no sub-categories under the categories, only listings Now in my theme, I have sub-categories, and the theme does make provision for that. See […]

WordPress for a business catalog site

I am completely noob with WordPress so I apologize in advance if my questions sounds completely stupid. Background I have a small business catalog site that I wrote long ago in plain HTML. Now I want to add some SEO and improve the design therefore I am looking to use a CMS for easy content […]

How to display posts by current user/author in a custom page template?

I am a trying to create a dashboard like custom page template that list post of of the current logged in user. I’ve tried to find a solution on the net. but none were appropriate

WordPress product catalog site

I need to create an e-commerce site with WordPress, but not 100% e-commerce. It is just a catalog site without shopping cart. Users can see various products on the site, for example, car showcase website. I am a newbee to WordPress. To build such kind of site: What is a good start point to study? […]

List Child Pages of Parent Parent Page (Child pages from Grand Parent)

OK I’m doing a a menu (sidebar menu) that will display this all child pages of parent page (currently open) Parent |-Child 1 |-Child 2 |Child 3 but in same time when someone is in bolded page (child) will see the same thing Parent |-Child 1 _ _|-Child 1 _ _|-Child 2 _ _|- Child […]