Posts

Wordpress

Post

How to remove the date published and date modified schema from the Article schema (posts) and WebPage schema (pages and posts) in the Yoast SEO plugin for WordPress

I was contacted a few days ago by a fellow WordPress warrior (hello Dan) asking if it’s possible to remove the date published (datePublished) and date modified (dateModified) schema from the Article schema (posts) and WebPage schema (posts and pages) in the Yoast SEO plugin for WordPress. The answer is yes, you can do this […]

Read more >>

Post

How to remove the person schema and the author property of the article schema in the Yoast SEO plugin for WordPress

Today I’m going to talk you about how you can remove the person schema and the author section of the article schema in the Yoast SEO plugin for WordPress. I think this is going to be a problem for a lot of people using version 11+ of the Yoast SEO plugin for WordPress. In versions […]

Read more >>

Post

How to Hide / Protect Email Addresses on WordPress Websites

It’s very common to put email addresses onto the front end of websites, and why not, it’s a useful piece of information and pretty much essential on loads of websites for loads of reasons. The trouble is those pesky spammers send their bots to crawl the internet looking for email addresses on websites. They then […]

Read more >>

Post

Setting WordPress File/Folder Permissions in Linux Terminal

To set the WordPress file and folder permissions in Linux terminal: Go to the WordPress directory: cd /path/to/wordpress/ Change all directories to 755: sudo find . -type d -exec chmod 0755 {} \; Change all files to 644: sudo find . -type f -exec chmod 0644 {} \;

Read more >>

Post

Enter and display code snippets in WordPress custom fields

If you use a WordPress custom field to display code snippets like I do on this site, then you will notice that if you enter the full code with <\?php e.g. <?php echo get_post_meta($post-&amp;gt;ID, ‘custom-post-name’, true); ?> It will not display as you need to tell your template to escape the special characters. To do […]

Read more >>

Post

Redirect WordPress attachment urls to the file url

Been having clients upload PDF docs to WordPress in the usual way, WordPress then creates a post url for that file upload – no worries. Trouble is many clients are then using this as the link to the document and then wondering why when they click the link they are just taken to another page […]

Read more >>