where to change text for header?

You can use twentyfifteen_custom_header_args filter for customizing width and height. Check following example. add_filter( ‘twentyfifteen_custom_header_args’, ‘theme_slug_custom_header_args’ ); function theme_slug_custom_header_args( $args ){ $args[‘width’] = 600; $args[‘height’] = 800; return $args; } In the example, width is changed to 600 and height is set to 800.

How to remove WP Title Tag?

The default <title> can be handled by a template as a direct input in header.php or by the theme setup or options screen in backend. If your theme won’t show up <title> tag in the header.php, then it’s pretty likely than the functions.php file has something like this: add_theme_support( ‘title-tag’ ); You can remove that … Read more

Adding other links on header than LinkedIn, Facebook, Youtube etc

These icons are from Font Awesome: https://fortawesome.github.io/Font-Awesome/icons/ You can use for example Stack Exchange icon too with this code: <i class=”fa fa-stack-exchange”></i> If this code doesn’t work, you should download the latest Font Awesome package or just link that in the header: <link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css”>

Include different scripts and styles for two separate custom headers?

Check whatever conditions you want to enqueue specific scripts on within your enqueue function. function wpd_enqueue_scripts() { if( is_user_logged_in() ){ wp_enqueue_script( ‘script-name’, get_template_directory_uri() . ‘/js/logged-in.js’, array(), ‘1.0.0’, true ); } else { wp_enqueue_script( ‘script-name’, get_template_directory_uri() . ‘/js/not-logged-in.js’, array(), ‘1.0.0’, true ); } } add_action( ‘wp_enqueue_scripts’, ‘wpd_enqueue_scripts’ );

is_page_template showing partial results

The is_page_template() function is for checking if the current page is using a specific custom page template. That being a template selected from the Template dropdown in the Page Attributes box when editing the page. The WordPress conditional tags are not based around which template files are used. They are used to tell you what … Read more

Change position of header image with default 2019 theme

In the header file for the child theme there is a div with class of “site-branding-container” It contains an h1 element and a p element. Just ad an img element after the p element. i.e. <div class=”site-branding-container”> <div class=”site-branding”> <h1 class=”site-title”><a href=”https://wp-themes.com/” rel=”home”>Theme Preview</a></h1> <p class=”site-description”>Previewing Another WordPress Blog</p> <img src=”https://cnet3.cbsistatic.com/img/Yt768C55hXNi2eGSB9qOv-e7SQg=/2011/03/16/c7675aa8-fdba-11e2-8c7c-d4ae52e62bcc/Chrome-logo-2011-03-16.jpg”> </div><!– .site-branding –> </div> … Read more

WordPress add script with custom type (x-jquery-tmpl)

Printing the script in the head is a method called do_item in the wp_script class. In this method you see this line: $tag = “{$cond_before}{$before_handle}<script type=”text/javascript” src=”https://wordpress.stackexchange.com/questions/262406/$src”></script>\n{$after_handle}{$cond_after}”; So, the script type is hardwired in the function. However, a few lines further on, you see this: $tag = apply_filters( ‘script_loader_tag’, $tag, $handle, $src ); This allows … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)