Unwanted Links and Spam WordPress Pages and Posts
I forgot to activate Akismet. 🙂
I forgot to activate Akismet. 🙂
That plugin uses a really convoluted method to find & include file.php: if (file_exists(dirname(__FILE__) . $DS . ‘..’ . $DS . ‘..’ . $DS . ‘..’ . $DS . ‘wp-admin’ . $DS . ‘includes’ . $DS . ‘file.php’)) include(dirname(__FILE__) . $DS . ‘..’ . $DS . ‘..’ . $DS . ‘..’ . $DS . ‘wp-admin’ … Read more
TheCartPress plugin – Make every item in store unique
You can directly access the database of WordPress with plugin Portable phpmyadmin and Adminer. You only need to login to WordPress dashboard and you will be able to access this.
Integrating planning tools in wordpress
Figured it out. I disabled links in the PhotoMosaic shortcode, then used $(window).load to detect clicks on the images and redirect accordingly. I then used CSS to change the cursor and add an opacity change on mouseover to imitate a link so the users know that they can click on the images.
It is possible to intercept the get_post_meta(‘_download_limit’) and set a fixed value to it. When trying to save a different value it goes back to the fixed value: add_filter( ‘get_post_metadata’, function( $value, $object_id, $meta_key, $single ) { if( ‘_download_limit’ == $meta_key ) $value = 100; return $value; }, 10, 4 ); See Where to put … Read more
Apparently, there’s no way to remove one plugin from the Must-Use list… But then, found a filter that does even better: show_advanced_plugins will completely hide the sight of the Must-Use plugins. After all, if you’re trying to hide something of this nature, then hide it all… It’s inside the class WP_Plugins_List_Table and takes two arguments: … Read more
Maybe it’s not necessary to add the files to the library. We can simply scan a given folder and print <video> tags with all the video files that we find. If password is required, I’d give Subscriber accounts to the users and present the content in the backend. In each User profile, an administrator can … Read more
If you want to display the time to the user you should use the_time(); template tag instead. http://codex.wordpress.org/Function_Reference/get_the_time