Limiting your WordPress blog or website search results to include post titles only, instead of content can easily be accomplished with the search_by_post function in your WordPress functions.php file.
Create a random post link and redirect WordPress visitors to a random post on your WordPress blog or website using simple PHP functions and variables.
In regards to a possible client’s website which may offer articles in a news format or style, the title “Article” opposed to “Post” would be much more suitable and less confusing inside the WordPress dashboard for this client.
Did you know you can add your latest tweets from your Twitter feed to any WordPress website without using plugins?
WordPress by default links uploaded images to the actual image itself (or file URL), not to the page or post location the image is uploaded to. This code snippet will automatically remove hyperlinks in uploaded images, turning image URLs into None.
There are plenty of right ways to create blank spaces and empty lines on WordPress including the use of amperstamps, rule tags, creating tables, columns, and more. In this code snippet we used an amperstamp with paragraph tags to be used as a PHP function, so when the new shortcode is inserted an individual blank line or empty space is created.
PHP files and theme/template files on WordPress do not translate shortcodes in regular [shortcode] format.
Instead a very simple solution is to use the shortcode, and the do_shortcode function, inside a PHP echo tag.
Changing or removing the “Howdy, user” text greeting from the WordPress admin bar is very simple.
Automatically add a search field to your WordPress navigation menu using a simple PHP snippet.
Redirect WordPress website users and visitors to a random post via link, button, image, menu, and more.
To maintain high quality JPG files exactly how you uploaded them, disable WordPress from automatically compressing your JPG files.