Limit ONE link per post

Take it as a starting point (not tested): /** * Limit links inside the content. * * @param (string) $content * @return (string) $content */ function wpse30754_limit_content_links( $content ) { // delete all <a> tags in the post $content = preg_replace( “/<a[^>]*><\\/a[^>]*>/”, ”, $content ); return $content; } add_filter( ‘the_content’, ‘wpse30754_limit_content_links’ ); What’s not yet … Read more

Frontend post creation including image attachment

Well you have not mentioned whether your code worked or not because the blog you are following is amazing one. And you should have get the solution from that post. And regarding your question.. require_once(ABSPATH . ‘wp-admin/includes/image.php’); This is a core WordPress file which does all the manipulation on images and its meta data. Why … Read more

Post schedule being missed

If you are caching (parts of) your site, manually or via a plugin (such as WP Super Cache, for instance), it might have a negative impact on the functionality of wp_cron. If done via a plugin, disabling it might not suffice, as WP Super Cache for example does not clear the page cache it has … Read more