PROGRAMMING

Change placeholder text for wordpress search box

Change placeholder text for wordpress search box

Today we will learn how to Change placeholder text for wordpress search box. Just Add the below code to the functions.php in your wordpress theme and all done. Placeholder text can be change/Replace to any text also Search button can be change to anything. function html5_search_form( $form ) { $form = ‘<section class=”search”><form role=”search” method=”get” …

Change placeholder text for wordpress search box Read More »

Scroll to anchor with offset from external page jQuery

When need to Developing a website it’s important that all anchor links are working. Also if those links Scholl to anchor to the exact Location with a offset value that would be really cool thing. Recently i have worked in a site for my client, She need all the Anchor link Scroll to the exact …

Scroll to anchor with offset from external page jQuery Read More »

How to Create a WordPress Database Backup

Sometime we need to keep WordPress backup for our websites. wordpress has a default backup feature. This feature only backup the wordpress database. we can do this to the following steps: 1. Step: Login to Your wordpress dashboard and Scroll down to Tools -> Backup There are some options we can setup before Run a Backup. …

How to Create a WordPress Database Backup Read More »

WordPress Memory Exhausted Errors – Increase PHP Memory

We have exchanged various customer sites, and some of the time a WordPress Memory Exhausted mistake shows up when initiating another module or doing some other errand. Typically the blunder resembles this: <pre> Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home4/xxx/public_html/wp-includes/plugin.php on line xxx </pre> we chose …

WordPress Memory Exhausted Errors – Increase PHP Memory Read More »

Logged in and Logged out Body Classes

Today I wound up needing a logged-out body class on a WordPress site I’m building. Any individual who has ever coded a WordPress sites has probably included the body_class() capacity to their websites and it would look something like the following: <body <?php body_class(); ?>> Well, the body_class() function permits you to effectively include classes …

Logged in and Logged out Body Classes Read More »

woocommerce password strength settings

Sometimes its very annoying when you are trying to create a simple password in woocommerce and its notifying you “Your Password is weak” or some things else notification. You can Change the Setting of the password strength with the below options. [php] OPTION 1 – Add a warning that you need a stronger password. /* …

woocommerce password strength settings Read More »

Timezone

Setting the Default Timezone for PHP In WordPress

If you want to Display a post in different timezone the you should workout some php function in grab it. It necessary when you show a online event or online live video. if you want to show the event or a post in local time you should follow bellow steps: <span class=”post-time-date”> <!–?php date_default_timezone_set(‘America/Los_Angeles’); echo …

Setting the Default Timezone for PHP In WordPress Read More »

How to Replace “Choose an option” with Attribute name in variation select menu in WooCommerce

In woocommerce, the product attributes used for variations will display as a select menu in product page. For example, if I had created an attribute named ‘Size’ and used it for variation, then a ‘Size’ select menu will appear in the product page containing attribute values (or configured terms) as options for a customer to …

How to Replace “Choose an option” with Attribute name in variation select menu in WooCommerce Read More »

Scroll to Top