Snippet Category: PHP

Add Name Attribute to GravityForms Form Tag

Adding the name attribute to all GravityForms form tags.

Read More
Changing The Site URL

Here is how you can change the site's URL within the wp-config.php file so that you can browse the site without having to change all the entries in the database.

Read More
Creating Author Link in Loop or Post

Here is the easiest way to display the author name with a link to the authors page.

Read More
Cron Jobs and WordPress

WordPress's cron system can be very useful to tell your website to do certain things. Here are some useful functions that can help get you started.

Read More
Current Year Shortcode

Put this code in your child themes functions.php file and you can then use the [year] shortcode to output the current year.

Read More
Custom Post Type in Author Results

Use this code to set what post types show on a given authors archive page.

Read More
Deactivate Coming Soon Page at Specified Date/Time

If you are wanting to be able to launch a website without having to do it manually you can use this code in your themes functions.php file if you are using the CMP - Coming Soon * Maintenance Plugin by NiteoThemes plugin.

Read More
Deactivate post after certain date

Code to change a posts status on a certain date so that it is no longer published based off of an array in the code.

Read More
Enqueuing Styles or Scripts in WordPress

Knowing how to enqueue style files or script files is always essential when it comes to customizing WordPress. Here you will find a way to do so in such a way that the query string is based on the last edited time of the file so that caching issues are minimized.

Read More

Latest Blog Articles

Voice Search Optimization: Strategies for Web Developers and SEO Experts

This article provides a comprehensive overview of strategies for optimizing websites for voice search, aimed at web developers and SEO experts looking to enhance their digital presence and adapt to the changing landscape of user search behavior.

Read More
Mastering Schema in 2024: Enhancing Web Presence and SEO Strategy

In the dynamic realm of digital marketing and search engine optimization (SEO), understanding and leveraging schema markup has become increasingly crucial for businesses and webmasters aiming to enhance their online visibility in 2024. Schema markup, a code that you can add to your website, helps search engines return more informative results for users. By implementing […]

Read More
ProtonMail: Elevating Privacy and Security in Digital Communication

In the arena of digital communication, the significance of data privacy and security cannot be overstated. Privacy concerns have been a lightning rod for discussion, particularly in the wake of recent high-profile data breaches and controversies around the handling of personal data by several tech giants. It is in this climate that ProtonMail, an email […]

Read More
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram