How to use the repeater field in Advanced Custom Fields WordPress Plugin (ACF) for free
Advanced Custom Fields it’s the most powerful wordpress plugin that you can use to create custom fields. You can add custom fields such as images, text, editor, radio button, color picker, date etc. and attach them to any post type, page, custom post type you desire. Then, with few lines of php code you can […]
How to count custom post types in wordpress
You have custom post types in your wordpress website, and want to count them for different purposes? Well, here is a fast and simple solution on how you can do it. [php] <?php $count_posts = wp_count_posts(‘portfolio’)->publish; //replace portfolio with your custom post type echo $count_posts; //output the number of posts ?> [/php]