Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 26523

Posts are the core of WordPress. They store content, are categorized, and are expansible with meta. Posts are grouped by post type, and within their post type by taxonomy (though a taxonomy can span more than one post type).

2
votes
I think if you want to show recent posts posted 2-3 days ago, you can use date queries, provided by WordPress You can get more information about date queries from here: WordPress Date Queries For … Example: If you want to show last three days posts, it can be done using the following snippet of code: //set the arguments $args = array( 'order' => 'DESC', 'date_query' => array …
answered Jul 16 '14 by WisdmLabs
0
votes
If you want to give the users some course material to download, you could simply "Add Media" or "Upload ZIP" into the "Course" content section. Also if you want only people who start a "Course" to ha …
answered Sep 24 '14 by WisdmLabs
1
vote
Please try the following code: Following code has to be added in shortcode function global $wpdb; $start .= $attr['godina'] . "-09-01"; $end .= $attr['godina'] + 1 . "-08-31"; $cat = …
answered Nov 4 '14 by WisdmLabs
2
votes
You would have to do the following to save the order data into the WordPress DB, Do a WordPress AJAX sending the data that you want to be stored in it. You can do it at every re-arrange event of the …
answered Oct 31 '14 by WisdmLabs
2
votes
Slight change in your code, function wpse_custom_field_on_publish( $new, $old, $post ) { // Only run on "from X > to publish"-transitions if ( $new === 'publish' && $old !== 'publish') { …
answered Nov 13 '14 by WisdmLabs
8
votes
There is no special hook to author change. But you can achieve it by using post_updated hook. Example: add_action('post_updated', 'prefix_on_update_author', 10, 3); function prefix_on_update_author …
answered Jun 16 '15 by WisdmLabs
0
votes
you should use get_post_meta( $post_id, '_custField1', true ); make $single parameter true so it will return a single value.
answered Aug 17 '15 by WisdmLabs
0
votes
Use meta_query argument in the array. $custom_post_type = 'event'; $args = array( 'post_type' => $custom_post_type, 'post_status' => 'publish', 'meta_key' => 'event_date_and_time', ' …
answered Aug 20 '15 by WisdmLabs
1
vote
$ids = get_users( array('role' => 'author' ,'fields' => 'ID') ); $contr_limit = count($ids); for($cntr=0; $cntr < $contr_limit; $cntr++){ if( pmpro_hasMembershipLevel($level_id, $ids[$cntr] …
answered Sep 1 '15 by WisdmLabs
2
votes
Add following code in your theme's functions.php. // To add extra column in column headers add_filter('manage_posts_columns', 'bs_event_table_head'); function bs_event_table_head( $defaults ) { $ …
answered Aug 24 '15 by WisdmLabs
-3
votes
that, below content can be fit in content-category-display.php <?php /** * The template for displaying posts on category page */ ?> <article id = "post-<?php the_ID(); ?>" <?php post_class … ', 'category-display'); //Here it calls content-category-display.php endwhile; else : // If no content, include the "No posts found" template …
answered Jul 27 '14 by WisdmLabs