how to costume title single page

You can use “the_title” filter for this. http://codex.wordpress.org/Function_Reference/the_title add_filter(‘the_title’,’callbackfunction’); function callbackfunction($data){ global $post; $new_title = “new page title”; //You can set dynamic title from $post return $new_title; } If you just want to change the site title you can do this in the backend itself “Settings->General->Site Title”

how make wp include urls as https?

It depends on how you included these scripts on your website. Did you include them directly on your theme files (i.e. footer.php, header.php) or did you use wp_enqueue_script on your functions.php? In the first case, you have to manually update these script URLs to https while please make sure you’ve updated your WordPress and Site … Read more

Simple filter to change label name of Email Adress to something else

add_action( ‘user_new_form’, ‘change_label_form’ ); function change_label_form() { echo ‘<script> jQuery(document).ready(function($) { $(“label[for=email]”).html(“Example”); } ); </script>’; } here is trick worked for me , you can change the label for any filed by using the for tag in the label and you can add action on any form you like, as add_action( ‘edit_user_profile_update’, ‘change_label_form’ ); Here … Read more

how to add navigation icons in specific template?

First add this in function.php file. This is font-awesome cdn function wp_enqueue_icon_stylesheet() { wp_register_style( ‘fontawesome’, ‘http:////maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css’ ); wp_enqueue_style( ‘fontawesome’); } add_action( ‘wp_enqueue_scripts’, ‘wp_enqueue_icon_stylesheet’ ); Then add this class ‘fa fa-lg fa-home’ in specific menu from backend menu Appreance->menus Then select the screen-option from top left and select/check the ‘CSS Classes’ After that put the ‘fa … Read more

Adding custom html/css/images to Theme

If your HTML is displaying but the images aren’t that normally points to a path issue – doublecheck it by opening your browser’s dev tools and checking whether the requested path to the images is correct. Make sure you’re using get_stylesheet_directory_uri() to get the URI to the root of the child theme, as get_template_directory_uri() will … Read more