Search
Exact matches only
Search in title
Search in content
Search in comments
Search in excerpt
Filter by Custom Post Type
Recent SnippetsMore
WP-Snippet logo

How to display content for mobile- or desktop only using WordPress “wp_is_mobile”.

Did you know that you can use WordPress built-in “mobile detect” function wp_is_mobile to create a simple shortcode that...
WP-Snippet logo

How to display WordPress “site name” and “description” in templates

To display the Wordpress site(blog) name and description - you can add the following to your template.
WP-Snippet logo

How to Disable the WordPress JSON REST API without plugin

The WordPress JSON REST API can be useful for developers building apps using WordPress. Other site owners may find...
WP-Snippet logo

How to get WordPress featured image source (src)

With the WordPress function: wp_get_attachment_image_src, you can get the src of the featured image. Instructions Add this code to...
WP-Snippet logo

How to show WordPress author bio excerpt in posts

Here is a snippet that will enable you to show a short intro (excerpt) of the WordPress author bio...