Well come!
Bookmarks
Home
WPPathFinder
SoftHopper Blog
About Me
Saturday, 14 November 2020
How to Auto Increment Custom Post Serial Number Using ACF & Elementor
function product_counter() { $args = array( 'post_type' => 'buyfish' ); $the_query = new WP_Query( $args ); static $test = null; if ( $test == null ) { $test = $the_query->found_posts; } echo $test; $test--; }
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment