Posted on March 28, 2024 Posted Under Wordpress, Wordpress Security
When working with SQL database queries in WordPress, it’s essential to sanitize input data to prevent SQL injection vulnerabilities. WordPress provides several functions and methods for sanitizing database query variables. Here’s a list of commonly used ones: Using these sanitization functions and methods appropriately in your WordPress code ensures that input data is properly sanitized […]
Posted on December 29, 2023 Posted Under Wordpress
When hiring a WordPress freelancer, it’s important to consider their skills, experience, portfolio, and references. Here’s a checklist to guide you through the process: Skills and Experience Portfolio and References By evaluating these aspects, you can make an informed decision when hiring a WordPress freelancer.
Posted on December 28, 2023 Posted Under Wordpress, Wordpress Freelancer
Below are WordPress code examples to use wp_footer WordPress hook to add a custom script or HTML before closing of body tags. This function helps to call Google Analytics or any third-party code down below before closing the body tags. It is recommended to add these custom functions inside the child theme to avoid code […]
Posted on December 27, 2023 Posted Under Wordpress Freelancer
In the dynamic world of freelance WordPress development, having the right set of tools can significantly enhance productivity and streamline workflows. As a WordPress freelancer, leveraging cutting-edge tools can help you stay ahead of the curve, deliver high-quality projects, and manage your business efficiently. In this comprehensive guide, we’ll explore 15 must-have tools for every […]
Posted on December 27, 2023 Posted Under Wordpress Freelancer
In the ever-evolving landscape of digital entrepreneurship, WordPress freelancers play a pivotal role in helping businesses establish and maintain their online presence. As a WordPress freelancer, mastering a diverse set of skills is crucial for success in this competitive field. Whether you’re a seasoned professional or just starting your freelancing journey, honing these ten essential […]
Posted on December 6, 2023 Posted Under Wordpress
For expert developers working with WordPress and PHP, following best practices is crucial for building secure, scalable, and maintainable code. Here are some recommended best practices: Use Child Themes When customizing a theme, create a child theme instead of modifying the original theme files. This ensures that your changes are not lost when the theme […]
Posted on November 20, 2023 Posted Under Wordpress
WordPress is considered the best CMS platform and website builder in the world. It supports 43% of all websites on the Internet. Here’s how it compares to other CMS platforms: Comparison to other CMS: Joomla Joomla! is another popular CMS. It provides a good balance between flexibility and usability. However, its learning curve is higher than that of WordPress. Drupal: Drupal is known for its robust and flexible framework, making it ideal for […]
Posted on February 10, 2016 Posted Under Wordpress, wordpress hacks
Here is code to send pdf file attachment to user using contact form 7. 1076 is contact form 7 ID and tdsfile form field is having PDF url form local server (http://localhost:90/pidi/wp-content/uploads/2015/09/test.pdf) which i want to send as attachment.
Posted on November 28, 2015 Posted Under Wordpress, Wordpress Freelancer
Here is code snippet to display selected category names of custom post type in wordpress. To get the categories of a custom post type you have call get_the_terms() and setup the registered category name like this <?php $terms = get_the_terms( $post->ID , ‘myposttype_category’ ); foreach ( $terms as $term ) { echo $term->name; } ?>
Now wordpress takend 25 % of market share as per Web technology surveys http://w3techs.com/technologies/history_overview/content_management/all/y In 2003 Matt Mullenweg and Mike Little fork b2 and created WordPress. As wordpress freelancer we seen tremendous growth in wordpress usage since 2011. Three main aspect of wordpress is Its Lightweight, Simple User & SEO friendly. Historical yearly trends in […]
Posted on November 21, 2014 Posted Under Wordpress
Here is code to disable WordPress all update notification Incoming search terms:com co inwww www (137)com co inwww (65)www www co in (49)wwwwww com (26)co inwww (24)wwwwwwwwwcom (15)co in co in co inwww (14)WWW WWWwww com co in co in co inwww www com (14)Search www www www (12)https:// www jokes4us com is a greayvzw […]
Posted on July 28, 2014 Posted Under Wordpress, wordpress hacks
Here is hook code for wordpress to edit rel attribute of the_category link in wordpress
Posted on July 1, 2014 Posted Under Wordpress
Below is snippet code to display second level menu in wordpress. Put below php code into your theme/functions.php file add_filter( ‘wp_nav_menu_objects’, ‘my_wp_nav_menu_objects_sub_menu’, 10, 2 ); // filter_hook function to react on sub_menu flag function my_wp_nav_menu_objects_sub_menu( $sorted_menu_items, $args ) { if ( isset( $args->sub_menu ) ) { $root_id = 0; // find the current menu item […]
Posted on May 19, 2014 Posted Under Wordpress
Here is code restrict user other than administrator to acess wp-admin in wordpress. Put below code into your theme/funtion.php file
Posted on May 13, 2014 Posted Under Wordpress
Here is way to reset user id in wordpress for new signup registration. First Delete all your unwanted users from backend. Now go to phpmyadmin to acess you database. Click on SQL tab from top and Enter below SQL COMMAND and Click GO button. ALTER TABLE wp_users AUTO_INCREMENT = 15 That’s it.
Posted on May 8, 2014 Posted Under Wordpress
Here is way to manage your wordpress comments using php mysql queries. Some things to note Don’t forget to do a backup of your database before testing any of the queries below. Don’t forget to change the default table prefix wp_ by the one used by your database. Delete all spam comments When you have over 100,000 […]