Welcome to WP Beaches

Specialising in WordPress Websites, based in the Northern Beaches, NSW

RECENT POSTS

Output The Featured Image in a Loop as a Linked Media Image

Feature Image Loop

Instead of linking a featured image to a post permalink in a loop – here is how you can link to its original image of itself. View the code on…

Read More

Change Number of Posts Displaying on CPT Archive Page

Pre Get Posts Display

To change the number of posts that appear in an archive page for a custom post type you can change the number using the pre_get_posts action. Normally the number of…

Read More

Filter Custom Post Types by Taxonomy in WP Admin Dashbaord

Filter Cpt By Taxonomy Term

Filter CPTs by a linked custom Taxonomy in the WP Admin Dashboard is possible with restrict_manage_posts. In the screenshot there is a CPT list of posts, with a dropdown menu…

Read More

Add Event Categories as CSS classes to Event Posts in Modern Tribe

Modern Tribe Event Category

Event Categories are not added as CSS classes to individual Event Posts in Modern Tribes Event Plugin for WordPress however you can use the body_class filter to add them in.…

Read More

Changing the Modern Tribe Events Date Format

Modern Tribe Event Date Format

This is some code borrowed and extended on to change the Modern Tribes Event plugins date output format to make it a bit easier on the eye. View the code…

Read More

Output The Featured Image in a Loop as a Linked Media Image

Feature Image Loop

Instead of linking a featured image to a post permalink in a loop – here is how you can link to its original image of itself. View the code on…

Read More

Change Number of Posts Displaying on CPT Archive Page

Pre Get Posts Display

To change the number of posts that appear in an archive page for a custom post type you can change the number using the pre_get_posts action. Normally the number of…

Read More

Filter Custom Post Types by Taxonomy in WP Admin Dashbaord

Filter Cpt By Taxonomy Term

Filter CPTs by a linked custom Taxonomy in the WP Admin Dashboard is possible with restrict_manage_posts. In the screenshot there is a CPT list of posts, with a dropdown menu…

Read More

Add Event Categories as CSS classes to Event Posts in Modern Tribe

Modern Tribe Event Category

Event Categories are not added as CSS classes to individual Event Posts in Modern Tribes Event Plugin for WordPress however you can use the body_class filter to add them in.…

Read More

Changing the Modern Tribe Events Date Format

Modern Tribe Event Date Format

This is some code borrowed and extended on to change the Modern Tribes Event plugins date output format to make it a bit easier on the eye. View the code…

Read More