Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 11-30-2011, 02:07 AM   #1
cianfie
Registered User
 
Join Date: Nov 2011
Posts: 25
ways on writing custom post type queries

Custom Post Types aren’t some big, bad, intimidating WordPress function that only hardcore developers can use. They’re actually quite easy to use – more like a puppy that needs a bit of training.Do you know how to write
custom post type queries? I'd be very appreciative if you can help.
cianfie is offline   Reply With Quote

Old 03-02-2012, 12:15 AM   #2
ruixuan
Registered User
 
Join Date: Feb 2012
Posts: 98
I don't know well
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
ruixuan is offline   Reply With Quote
Old 03-25-2012, 10:05 PM   #3
loenmilton
Registered User
 
Join Date: Mar 2012
Posts: 28
sorry i have information for this topic................
loenmilton is offline   Reply With Quote
Old 03-29-2012, 10:40 AM   #4
iqbal
Registered User
 
Join Date: Mar 2012
Location: sheffied
Posts: 18
here is a custom post type queries for custom post type web design
Code:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$my_query = new WP_Query( array( 'post_type' => 'web_design','posts_per_page'=>$no_post, 'paged' => get_query_var('paged')) );	?>
<?php while ( $my_query->have_posts() ) : $my_query->the_post(); ?>
iqbal is offline   Reply With Quote
Old 09-10-2014, 06:35 PM   #5
project
Registered User
 
Join Date: Sep 2014
Posts: 122
free php projects for all project developers. this project download website provide source code with documentation of project. this project download website provide source code with documentation of project. you may also download java projects.
project is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:56 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.