If your site allows comments, you may not want the comment form to ask for a website url from the commenter. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to make it so your comment form no longer asks for the commenter’s website url.
[Read more…] about How to remove website url field from WordPress comment form in StudioPress Genesis
Functions.php
How to make custom Shortcodes in WordPress
Shortcodes are very useful to bloggers. You can use them to easily execute functions you have already created, which especially helpful for functions that are repeated often. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to make custom Shortcodes in WordPress.
[Read more…] about How to make custom Shortcodes in WordPress
How to change default Speak Your Mind comment text in StudioPress Genesis
If you are using the StudioPress Genesis Theme Framework for your WordPress site, you may want to change the default comment text that says “Speak Your Mind” when you first install your Genesis Framework theme. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to change the default “Speak Your Mind” text in your comments section.
[Read more…] about How to change default Speak Your Mind comment text in StudioPress Genesis
How to create a shortcode to display the WordPress site url
Shortcodes are a very useful tool when using WordPress. There are often things you may do a lot and using a shortcode helps make it so you can use one instead of retyping a lot of content. Also, if you are a web developer, you may be creating WordPress themes/sites on a development server that will later be transferred to a client’s server. When doing this, the url during development may not be the same as will be after it is transferred over to the client’s live site and server. This can cause extra work after making the transfer editing links and other text that may have displayed the url. You can use a shortcode to find the current site url and display it based on the url the WordPress theme is currently installed on, so no matter where the theme is used, it will display the correct url, which means you won’t have to change it if you move the theme to a new url. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to create a shortcode to display the WordPress site’s current url.
[Read more…] about How to create a shortcode to display the WordPress site url
How to get custom field value using a shortcode
Just add this WordPress Code Snippet below to the functions.php file in your current WordPress theme to allow you to get custom field values by simply using a shortcode.
[Read more…] about How to get custom field value using a shortcode
How to allow shortcodes to work in Contact Form 7 in WordPress
Contact Form 7 is a great plugin to make custom contact forms on your WordPress site. If you are using shortcodes in your WordPress site, you may want to make it so they will work in the Contact Form 7 plugin’s contact forms. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to make it so your shortcodes will work when placed in Contact Form 7 plugin’s contact form.
[Read more…] about How to allow shortcodes to work in Contact Form 7 in WordPress
How to create a shortcode to display the WordPress theme path
Shortcodes are a very useful tool when using WordPress. There are often things you may do a lot and using a shortcode helps make it so you can use one instead of retyping a lot of content. Also, if you are a web developer, you may be creating WordPress themes/sites on a development server that will later be transferred to a client’s server. When doing this, the theme path during development may not be the same as will be after it is transferred over to the client’s live site and server. This can cause extra work after making the transfer editing image paths and other text that may have displayed the theme path. You can use a shortcode to find the current WordPress theme’s stylesheet directory and display that path, so no matter where the theme is used, it will display the correct path, which means you won’t have to change it if you move the theme to a new location. I use this often when developing themes for clients so that when I put an image inside the themes image folder during development, when the theme is later placed on the client’s server, the image path still works without me having to change it. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to create a shortcode to display the WordPress site’s current theme’s path.
[Read more…] about How to create a shortcode to display the WordPress theme path
How to change the WordPress breadcrumbs Home link in StudioPress Genesis
If you have breadcrumbs enabled in your StudioPress Genesis theme, you may want to change the WordPress breadcrumbs Home link. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to change the breadcrumbs home link.
[Read more…] about How to change the WordPress breadcrumbs Home link in StudioPress Genesis
How to add custom pagination page navigation to WooCommerce
If you have used the WooCommerce eCommerce plugin for WordPress, you have seen that the default Next and Previous Page links pagination page navigation is not very pretty. Today’s snack is a Tutorial that shows you how to add the WordPress plugin WP-PageNavi to a WooCommerce WordPress site in 3 easy steps to make your product archive page navigation easier to use and improve it’s look with numbered blocks instead of just next/previous links.
[Read more…] about How to add custom pagination page navigation to WooCommerce
How to customize the default Search Form text in StudioPress Genesis Framework themes
Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to customize the Search Form text in StudioPress Genesis Framework themes.
[Read more…] about How to customize the default Search Form text in StudioPress Genesis Framework themes