Do you what is a hook in WordPress?
There are two types of hooks available in WP, Action Hooks and Filter Hooks.
Actions hooks can perform an action before, after or middle of another function execution.
Filter hooks can modify data in WordPress, for example when you want to modify a post's title or content you can use related filter hooks.
Learn how to use Action and Filter Hooks in WordPress.
#wordpress_actions #wordpress_hooks #wordpress_filters
There are two types of hooks available in WP, Action Hooks and Filter Hooks.
Actions hooks can perform an action before, after or middle of another function execution.
Filter hooks can modify data in WordPress, for example when you want to modify a post's title or content you can use related filter hooks.
Learn how to use Action and Filter Hooks in WordPress.
#wordpress_actions #wordpress_hooks #wordpress_filters
Mehdinazari
WordPress Action and Filter Hooks Tutorial (+10 Examples)
In this WordPress tutorial for beginner developers, I will explain WordPress Actions and WordPress Filters and how you can use these WordPress Hooks in your theme or plugin, easy and understandable. This tutorial also contains +10 helpful examples
How to Check if the Current Page is Search Page of WordPress when user is viewing it?
Read this tutorial for syntax and example.
#wordpress_search #wordpress_search_page #wordpress_is_search
Read this tutorial for syntax and example.
#wordpress_search #wordpress_search_page #wordpress_is_search
Mehdinazari
How to Check if the Current Page is Search Page in WordPress
WordPress developers can detect Search Page using the is_search function. is_search function detects if the current page in the user browser is the website search page or not. The result of running the is_search is a Boolean, and it accepts no
in WP admin panel, you must have noticed the ‘Howdy Admin’ text on the toolbar.
I you want to change the Howdy Admin text in WordPress, read this tutorial.
You also can remove the box completely from the toolbar with one filter.
#wordpress_admin #wp_admin #wordpress_panel_edit
I you want to change the Howdy Admin text in WordPress, read this tutorial.
You also can remove the box completely from the toolbar with one filter.
#wordpress_admin #wp_admin #wordpress_panel_edit
Mehdinazari
How to Change or Remove ‘Howdy Admin’ in WordPress Toolbar
If you constantly use the WordPress admin panel, you must have noticed the 'Howdy Admin' text on the screen's top right corner. Because of the fixed position toolbar, this text is always visible everywhere you go. In this helpful tutorial for the
How can we determine if the user is viewing a tag page?
Mehdinazari
How to Check if the Current Page is a Tag in WP (+Example)
If the current page is a tag page in WordPress, the is_tag function will return a true value. The is_tag function accepts only one parameter. you can use that parameter to check if the current page is a specific tag. We're going to review the is_tag
How to Check if the Current User is logged in WordPress?
and also check:
How to Get the ID of Current Logged in User from WordPress!
#wordpress_user #wordpress_current_user #wordpress_user_id
and also check:
How to Get the ID of Current Logged in User from WordPress!
#wordpress_user #wordpress_current_user #wordpress_user_id
Mehdinazari
How to Check if the Current User is logged in WordPress
To check if a user is logged in or not, we can use WordPress is_user_logged_in function. This function accepts no arguments and only checks the current user authentication status. the is_user_logged_in function returns a boolean value, true if the
How to exclude posts containing a keyword in title, from your query?
read this tutorial for beginner developers.
#wordpress_exclude_posts #wordpress_posts_option #wordpress_posts_query_exclude
read this tutorial for beginner developers.
#wordpress_exclude_posts #wordpress_posts_option #wordpress_posts_query_exclude
Mehdinazari
How to Exclude Posts with a Word from WordPress Query
Excluding posts by a word in the title from the WP posts query has a simple solution which I shared in this tutorial. This solution uses the `s` argument in the posts query, and it is easier than what you can imagine. Read this short WordPress
Learn How to Check if the Current Page is a Category in WordPress!
#wordpress_category_detection #wordpress_category #wordpress_is_category
#wordpress_category_detection #wordpress_category #wordpress_is_category
Mehdinazari
How to Check if the Current Page is a Category in WordPress!
Categories are actually WordPress terms under the hood, like tags and other classification entities. But there is a simple solution in WordPress to detect a category page. WordPress developers can use the is_category function to check if the current
How to Retrieve a Post’s Format in WordPress?
Mehdinazari
How to Retrieve a Post’s Format in WordPress
Check out this WordPress tutorial if you want to learn how to retrieve the format of a post using a post ID. WordPress has a great function for post format detection; it calls get_post_format. We're going to review this function in a Practical
Did you know developers can extend WordPress Posts Query and include custom data to each post item?
For example, it's possible to create a custom table for post views in database, then include a view counter field in post items.
Read my new tutorial for advanced WP developers:
How to Extend WordPress Posts Query and Join Custom Tables?
You can use examples in this tutorial to create a DIY post view counter plugin.
Here is the Roadmap that you can use to navigate to every chapter of this tutorial:
🥇Chapter 1: WP Way of Handling Post Storage in Database
🥈Chapter 2: Extend and Modify Posts Query in WordPress
🥉Chapter 3: Build a Post View Counter by Extending Posts Query
🏅Chapter 4: Tips for Extending WordPress Posts Query
🏆Final Chapter: Resources to Learn about the Posts Query
#wordpress_query #wordpress_post_view_counter #wordpress_join_tables #wordpress_modify_query
For example, it's possible to create a custom table for post views in database, then include a view counter field in post items.
Read my new tutorial for advanced WP developers:
How to Extend WordPress Posts Query and Join Custom Tables?
You can use examples in this tutorial to create a DIY post view counter plugin.
Here is the Roadmap that you can use to navigate to every chapter of this tutorial:
🥇Chapter 1: WP Way of Handling Post Storage in Database
🥈Chapter 2: Extend and Modify Posts Query in WordPress
🥉Chapter 3: Build a Post View Counter by Extending Posts Query
🏅Chapter 4: Tips for Extending WordPress Posts Query
🏆Final Chapter: Resources to Learn about the Posts Query
#wordpress_query #wordpress_post_view_counter #wordpress_join_tables #wordpress_modify_query
Mehdinazari
How to Extend WordPress Posts Query and Join New Tables
Learn Extending Posts Query in WP, Join Custom Tables and add new fields to Post Items In this advanced WordPress Development tutorial. I'll explain how to include data from Custom Tables into the MySQL query of WP Posts. For a practical example,
💪 WordPress vs. Laravel 🦾
Which one is the best for web development projects?
#wordpress_vs_laravel #wordpress_laravel_compare #laravel
Which one is the best for web development projects?
#wordpress_vs_laravel #wordpress_laravel_compare #laravel
Mehdinazari
WordPress vs. Laravel: The Most Promising in the Year 2023!
Are you choosing between WordPress and Laravel for your following website? Read this in-depth article to understand the difference between WordPress and Laravel. This article includes WP and Laravel statistics, use cases, predictions, other
Today i wrote an article about Top 10 tools for WordPress Designers and Developers.
You can read it on my blog:
10+ Powerful Tools for WP Developers in the Year 2023!
#wordpress_tools #software #tools #wordpress_fast_development #wordpress_assist
You can read it on my blog:
10+ Powerful Tools for WP Developers in the Year 2023!
#wordpress_tools #software #tools #wordpress_fast_development #wordpress_assist
Mehdinazari
10+ Powerful Tools for WP Developers in the Year 2023!
Do you want to be a professional WordPress developer? Prepare yourself with the Top 10 Software to design astonishing WordPress Themes and develop useful plugins. Some of these tools are free to use for developers. Also, This article includes 10+
When i started writing my recently published tutorial about WordPress absint() function, I did not expect it to be this much surprising, even for myself!
absint() supposed to get a number, and convert it to positive in return.
But this simple function may return unexpected results based on your passed value.
For example, absint() also accepts string data type.
But what happens if you pass a non-numeric string?
Or a mixed string of numbers and characters?
Can absint() function calculate math operation inside a string?
What about array elements or object?
To find answers of these questions (and many more!) checkout the examples at the bottom of my tutorial about this function.
absint() supposed to get a number, and convert it to positive in return.
But this simple function may return unexpected results based on your passed value.
For example, absint() also accepts string data type.
But what happens if you pass a non-numeric string?
Or a mixed string of numbers and characters?
Can absint() function calculate math operation inside a string?
What about array elements or object?
To find answers of these questions (and many more!) checkout the examples at the bottom of my tutorial about this function.
Mehdinazari
How to Use absint Function in WordPress [7 Examples]
The absint function in WordPress accepts a number and converts it to a positive integer. This function also converts a float number to a positive integer value. But what is the return if you pass Boolean or Array instead? Find the answer in my 7
New tutorials on WordPress development:
How to Programmatically Activate a Plugin in WordPress
How to Add Thumbnail Support to WordPress Theme
How to Use add_theme_support Function in WordPress
How to Add a Custom Section to Settings page in WordPress
#wordpress_new_tutorials #wordpress_thumbnails #wordpress_plugin_development #wordpress_theme_development #wordpress_settings
How to Programmatically Activate a Plugin in WordPress
How to Add Thumbnail Support to WordPress Theme
How to Use add_theme_support Function in WordPress
How to Add a Custom Section to Settings page in WordPress
#wordpress_new_tutorials #wordpress_thumbnails #wordpress_plugin_development #wordpress_theme_development #wordpress_settings
Mehdinazari
How to Programmatically Activate a Plugin in WordPress
Learn how to activate a plugin in WP using the activate_plugin function programmatically. Here we provided an example of using this function to activate a WP plugin.
Learn how to add a specific field with key & value to multiple posts in one database query:
Add One Custom Field to Many Posts
This tutorial introduces 2 solutions for adding one custom field in many WordPress posts.
#wordpress_custom_fields #wordpress_metadata #wordpress_custom_function
Add One Custom Field to Many Posts
This tutorial introduces 2 solutions for adding one custom field in many WordPress posts.
#wordpress_custom_fields #wordpress_metadata #wordpress_custom_function
Mehdinazari
How to Add One Custom Field for Many Posts in WordPress
Use this code snippet to add the same meta data value for multiple WordPress posts at once. Here I provided solutions that save one custom field in many posts.
Blogging tips: how to write an eye-catching headline for blog posts
Are you a blogger? Check out these pages for the best words for your next post's headline.
Power Words:
The use of powerful words can evoke strong emotions and motivate people to take action as a result.
In most cases, they are short, descriptive words that emphasize a particular point or action.
The following are some examples of power words in English: "amazing," "incredible," "astonishing," and "unbelievable,"
List of 171 Power Words
Emotional Words:
Words such as happy, sad, angry, and surprised are used to describe our inner emotional states.
These words are used to communicate our feelings to others and help us to express how we’re feeling.
List of 267 Emotional Words
Common Words:
These words are used frequently in everyday communication and are essential for forming sentences and expressing ideas.
For instance, words like 'the', 'a', 'an', 'and', 'but', 'or', 'because' are common words in English.
List of 59 Common Words
Uncommon Words:
Uncommon words in English are those words that are used rarely in everyday conversations.
These words are not usually found in headlines.
List of 53 Uncommon Words
#wordpress_seo #blogging_tips #blogging_tutorials
Are you a blogger? Check out these pages for the best words for your next post's headline.
Power Words:
The use of powerful words can evoke strong emotions and motivate people to take action as a result.
In most cases, they are short, descriptive words that emphasize a particular point or action.
The following are some examples of power words in English: "amazing," "incredible," "astonishing," and "unbelievable,"
List of 171 Power Words
Emotional Words:
Words such as happy, sad, angry, and surprised are used to describe our inner emotional states.
These words are used to communicate our feelings to others and help us to express how we’re feeling.
List of 267 Emotional Words
Common Words:
These words are used frequently in everyday communication and are essential for forming sentences and expressing ideas.
For instance, words like 'the', 'a', 'an', 'and', 'but', 'or', 'because' are common words in English.
List of 59 Common Words
Uncommon Words:
Uncommon words in English are those words that are used rarely in everyday conversations.
These words are not usually found in headlines.
List of 53 Uncommon Words
#wordpress_seo #blogging_tips #blogging_tutorials
Mehdinazari
171 Power Words You See in the Innovative Post Titles!
Looking for a list of Power Words to use in your post headline? Here is a complete list of power words to help your SEO and make your post titles engaging.
Are you planning to build an education website with WordPress?
The first step is finding the perfect WordPress theme for you website.
Read my article to compare free & premium themes for an education website:
The best WordPress education themes
#wordpress_themes #wordpress_education_themes #top_wordpress_themes #free_wordpress_education_themes #premium_wordpress_education_themes #wordpress_themes_stats #wordpress_themes_compare
The first step is finding the perfect WordPress theme for you website.
Read my article to compare free & premium themes for an education website:
The best WordPress education themes
#wordpress_themes #wordpress_education_themes #top_wordpress_themes #free_wordpress_education_themes #premium_wordpress_education_themes #wordpress_themes_stats #wordpress_themes_compare
Mehdinazari
983 WordPress Education Themes | June 2023 Compare
I found 983 WordPress Education Themes, free & premium, and reviewed them to tell you the best theme for WordPress educational websites (statistics + charts)