Skip to content
WP Agency
  • Our work
  • About us
  • Blog
  • Contact Us
  • Home
  • Our work
  • Beaver Builder Development
  • About us
  • Contact Us
  • Partners
  • Blog
  • Protecting our future

Category: WordPress Snippets

Mass updating values in your WordPress database

WordPress·August 9, 2016

Often when we migrate a site from one domain to another we have to update the values in the database…

Read more ›

Update: WordPress Loop for a Custom Post Type

WordPress·July 27, 2016

As our post on creating a loop for a custom post type was one of our most popular…

Read more ›

Expanding a div beyond its container to be full width of page

WordPress Snippets·March 9, 2016

Sometimes its necessary to break a div out of its container and make it full width of the…

Read more ›

Protect your email address on a WordPress site

WordPress·February 9, 2016

WordPress comes with some useful built in functions for sanitising and protecting content which are often underused. For…

Read more ›
WordPress Code Snippet

Displaying the taxonomy name

WordPress Snippets·October 13, 2013

Sometimes you want to display the taxonomy value for post type and this next bit of code will…

Read more ›
Woocommerce Code Snippet

Changing the order on a Woocommerce Product page

WordPress Snippets·October 12, 2013

We have just completed a WordPress site for client using Woocommerce where the design requirement meant that the…

Read more ›
WordPress Code Snippet

WordPress loop for a custom post type

WordPress Snippets·September 28, 2013

This post has been updated with newer and better information. Please go here to see the updated version…

Read more ›
WordPress Code Snippet

Setting a template header on a WordPress file

WordPress Snippets·September 28, 2013

This is a quick snippet to let you know how to add a template header to your WordPress…

Read more ›
WordPress Code Snippet

Excluding a category from the WordPress Loop

WordPress Snippets·September 19, 2013

Sometimes you might want to exclude a blog category from your WordPress loop, for instance you might have…

Read more ›
WordPress Code Snippet

Detecting the browser used and adding a body class

WordPress Snippets·September 15, 2013

This is one of the snippets that we nearly always add to our sites as it means we…

Read more ›
WP Agency moves mountains
  • Twitter
  • Facebook
  • LinkedIn
  • Instagram
© WP Agency 2020 All rights reserved | Company Registration No: 8426146 | VAT No: 215999467
  • WordPress Development FAQ’s
  • Cookie Policy
  • Privacy Policy
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT