post_content; $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $conte...
here’s my own solution to this: step one: make a file in your template directory and add this as the content:
https://www.tikiwebgroup.com/blog/2019/09/10/making-a-random-page-on-your-wordpress-website/
media_sideload_image details. Currently the support docs for this function read: Parameters #Parameters $file (string) (Required) The URL of the image to download. $post_id (int) (Required) ...
A full year later and I’ve discovered that the image resolution IS stored in a very poor manner, as custom fields on the attachment. I’m still not clear on exactly how that works and I think ...
The latest version of WordPress has some pretty stupid additions to it, namely the mandatory support of “emoji”, which are one of the greatest diseases on the internet. Why they thought addin...
https://www.tikiwebgroup.com/blog/2015/04/28/how-to-remove-emoji-support-from-wordpress/
go to example.com/wp-admin/options.php find “link_manager_enabled” Change the “1” to “0” Hit enter Please note this just hides the “Links” menu item on your dashboard, to truly re...
Files: get_var( “SELECT COUNT(*) FROM $wpdb->posts WHERE post_parent = ‘$post->ID’ AND post_type = ‘attachment'” ); ?> |
https://www.tikiwebgroup.com/blog/2011/01/29/show-how-many-attachments-a-wordpress-post-has/
This is how you can show the comment user’s level: $user = get_userdata($comment->user_id); echo $user->user_level;
over on www.myconfinedspace.com I was having trouble keeping track of which posts had been properly tagged or not. using this code, you’ll be able to display the untagged posts. And edit button...
https://www.tikiwebgroup.com/blog/2009/07/10/how-to-show-all-untagged-posts-in-wordpress/