Bulk edit custom excerpt text in WordPress
Search RegEx is a good plugin to be able to search and replace (optionally with grep) through all posts, pages, excerpts, comments, titles and meta.
Search RegEx is a good plugin to be able to search and replace (optionally with grep) through all posts, pages, excerpts, comments, titles and meta.
Resolved by following comment on Tutsplus Tutorial (link included): In function save_meta(), replace this line: if (!wp_verify_nonce($_POST[‘custom_meta_box_nonce’], basename(__FILE__))) with this line: if (!isset($_POST[‘custom_meta_box_nonce’]) || !wp_verify_nonce($_POST[‘custom_meta_box_nonce’], basename(__FILE__))) See full comment here.
Stupid typo I’m afraid. This: array ( ‘key’ => ‘ys_product_start’, ‘value’ => date(‘Ymd’), ‘compare’ => ‘>=’ ), array ( ‘key’ => ‘ys_product_end’, ‘value’ => date(‘Ymd’), ‘compare’ => ‘<=’ ) Should be like this: array ( ‘key’ => ‘ys_product_start’, ‘value’ => date(‘Ymd’), ‘compare’ => ‘<=’ ), array ( ‘key’ => ‘ys_product_end’, ‘value’ => date(‘Ymd’), ‘compare’ => … Read more
As of WordPress 4.4, Taxonomy term meta is now a part of WordPress. You can use the following new functions to manage term meta: add_term_meta update_term_meta get_term_meta
I would strongly suggest to separate the products and not to put them all into one array. Or even to create a taxonomy companies, but this is more up to the while design and maybe a bad idea. Nevertheless this is a nice question to solve, so let’s play. So, the ‘prefix_products’ meta key is … Read more
Change the RSS Publication Date to use a value from a custom field
How do I add custom_meta_box_id’s value?
How to edit multiple post with Custom fields
Gravity Forms: Create fields programmatically
ACF Upload Image in repeater from front-end with custom form? – add_post_meta()