Blogs of wordpress

We are a web development and outsourcing agency based in Kochi, India.

How to Migrate Content from Umbraco to WordPress

How to Migrate Content from Umbraco to WordPress

Are you considering a shift from Umbraco to WordPress? Whether you're attracted by the extensive plugin ecosystem or the user-friendly interface, migrating your website can be a smooth process with the right guidance. Embark on a transformative journey as we guide you through the seamless migration from Umbraco to WordPress. Ready to elevate your website experience? Click "Migrate Now" and let's make it happen. Migrate Now

Shopify to WordPress Migration: Boost Your Online Business with Ease

Shopify to WordPress Migration: Boost Your Online Business with Ease

Discover the advantages of migrating from Shopify to WordPress with 2Hats Logic Solutions. Our expert team ensures a smooth transition for your online store, providing personalized support and cost-effective solutions. Get a Free Consultation Do you want a versatile e-commerce platform that can stand out? Then it’s time for the E-commerce platform to switch from Shopify to WordPress

How to manage plugin updates without uploading in wordpress.org?

How to manage plugin updates without uploading in wordpress.org?

When developing a WordPress plugin or theme, there could be updates in future. When a plugin has updates, the developer can add new updates as new versions in plugins and themes. Normally, the WordPress plugin needs to be uploaded to WordPress.org plugins library and manage updates with git. But if it is a paid/pro plugin, it's not possible with WordPress.org, because WordPress.org is only for managing free plugins. In this situation, developers can manage the WordPress plugins and theme updates with their own servers with Plugin Update Checker. This is a custom update manager for WordPress plugins or themes useful if the owners don’t want to upload in public WordPress repositories. But it will help the users to get updates if available at the same time of developer update. The Custo...

How to make dynamic sub-pages as sub-navigation in a page in wordpress

Last day, we were working on a website in WordPress. The website contains few subpages and the client want the navigation for the subpages on the right side of the Web page. We had faced some difficulties to get it done. Finally, after a deep research we got a perfect solution for this and that has been mentioned below.Paste this code where you want your subpage navigation and add subpages created under the main page. < ?php $children = wp_list_pages('depth=-1&title_li=&child_of=' . $post->ID . '&echo=0'); echo ''; if ($children) { echo $children; } elseif ($post->post_parent) { echo $children = wp_list_pages('depth=-1&title_li=&child_of=' . $post->post_parent . '&echo=0');...

Unique native function to get the sub menu part in wp_nav_menu

We were working on our WordPress project and we had found a problem that when using wp_nav_menu(), there is no native function to get submenu part in another element. eg: sidebar. We found a solution which can be used to avoid this problem. Please find below code.Just add the ‘submenu’ in the arguments for the wp_nav_menu(). Then the label name of the top-level menu that has the submenu that you want to list.// Usage: $args = array(     'menu'    => 'Menu Name',     'submenu' => 'About Us', ); wp_nav_menu( $args );Paste this in function.phpadd_filter( 'wp_nav_menu_objects', 'submenu_limit', 10, 2 ); function submenu_limit( $items, $args ) {    �...

Fix Missing Placeholder Text in Gravity Forms after Ajax post

Occasionally in our series of articles, we want to address some tips to resolve some type of issues which may occur in Gravity forms. We were working on a project last day and we had a problem with the Placeholder text in the gravity form. Placeholders were missing in the gravity form after Ajax post. Surprisingly, this fix is not built-in to Gravity Forms (Yet). However we can insert them even after submitting the form by ajax using javascript.You can use these codes to avoid these kind of issues.//Setting placeholder before form submit/ page load.. jQuery(document).ready(function(){     jQuery('#input_1_1').attr('placeholder', 'First Name'); }); Or we can use Gravity Forms - Placeholders add-on to set ...

2hats Logic HelpBot