Hide page title in WordPress 3.0

the videos shows options that come with the headway theme, in order to see them you must use the headway theme. it’s not a build in functionality of WordPress, however you can use the_title filter to replace or remove the title for a specific post based on custom fields values like so: function my_title_filter($title){ global … Read more

Are the default entries for a user in wp_usermeta documented?

You may want to take a look at the code itself: https://core.trac.wordpress.org/browser/tags/4.8/src/wp-includes/user.php#L1376 The above links to a documented list of the meta generated when WordPress generates a new user in the wp_create_user function. From these comments I pulled a quick list: user_pass, user_login, user_nicename, user_url, user_email, display_name, nickname, first_name, last_name, description, rich_editing, comment_shortcuts, admin_color, use_ssl, … Read more

WP get_permalink Return Wrong URL

IMO It is rarely a good idea to evaluate shortcodes outside of the specific post page as too many times you need the context for either the evaluation itself or styling. Your problem is most likely related to the use of the_post and wp_reset_postdata. What is exactly the post being reset to in that case? … Read more

Get number of comments after modifying comment query

Refrain from editing core files WordPress was developed with extensibility in mind, and provides many ways to change the appearance and functionality of an installation without altering the WordPress software itself (mostly using Hooks in conjunction with Plugins and Themes). The software is comprised of it’s “core files”, which are generally everything outside of the … Read more

Custom Loop Pagination on WordPress

Edit So, the reason that this isn’t working is because you’ve modified the question to specify that this is happening in a custom page template. Since this is the case, you’ll need to use two separate custom queries, and won’t need to bother with filtering the main query via pre_get_posts. The first query will be … Read more

Customise search form in the Widget

if your theme have not search-form.php file then you will create the file and add the custom css there. Because search widget is calling the get_search_form() function. First it will search the search-from.php file from activated theme folder. If there have no file then it will call wp’s default search form. See the Codex