Quantcast
Channel: Latest on WordPress » Code Snippets
Browsing all 10 articles
Browse latest View live

How to Change The Email Sender in WordPress

If you’re in the business of hosting WordPress-based sites or at least managing WordPress-based sites, then it’s likely that you’re also responsible for managing email accounts or how email is relayed...

View Article



Shortcode to Display External Files on Your Posts

When blogging, you may need to include an external file, such as text or image, into your own posts. Here is a very useful shortcode to embed and display any external files in your blog posts...

View Article

How to Display Post Attachment Count in Admin Post List

If you’re using many attachments in your posts, you might like to be able to visualize how many attachments a post have just from the admin post list. Here is a quick recipe to force WordPress to...

View Article

Restrict Admin Area To Only Admin Users

When you create a new user in the WordPress user manager they will be able to login to your site by going to the default WordPress login page /wp-login.php. Depending on the role you have assigned to...

View Article

How to Enable Shortcodes In Widget Areas

Simply pasting a shortcode into any of your widget areas generally won’t work. To enable the use of shortcodes in any widget area, on any theme, simply add this code to your child themes functions.php...

View Article


How to Exclude Pages Posts & Categories From Search Results in WordPress

If you want to hide pages from appearing when your readers use the default WordPress search box on your website, you have several options...

View Article

How To Remove The URL Field From WordPress Comments

There are some WordPress sites where you may not want to include the URL field in the comment form. It’s not always necessary and spammers tend to use it to link to their spammy websites, which will be...

View Article

How to Remove Menu Items in Admin Depending on User Role

So lets say you open up your blog to guest posters, and you create a user for them, and possibly even a custom role. You will usually find one or more menu items that you don’t want to show to your...

View Article


How to Setup Different Admin and Theme Languages on your WordPress Blog

I like me, you’re blogging in a language which is not your mother tongue, you might like to have the dashboard in your language. Here is a quick tip to use different languages on your WordPress blog or...

View Article


Time Saving WordPress Shortcode Tricks

One of my favorite features of WordPress is the shortcode trick. The name says it all, but for those not familiar yet with the magic of shortcodes, they allow you to insert a particular function...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images