Editing Header Titles of each details in woocommerce Order Email [closed]

To change the heading that appears in the body (message) of the email template you can use the following filter: ‘woocommerce_email_heading_’ . $this->id where $this->id equates to the id class property that is set within the email class of the specified type. For example, to change the heading of the “New Order” email you would … Read more

Cannot update WordPress General Settings Site Title and Tagline

Can you check your wp-config.php and double check that you are using the correct database, as if you have changed the values within the wp_options table then they should definitely be reflected in the settings in the back-end of WordPress, whereas, updating from WordPress might not have been saving etc. Sounds like a strange issue … Read more

get_post_field – Title without paragraph

As per the discussion the_content is not a proper hook for filtering post titles while it filters the post content. wpautop() function is called with the_content so it adds the necessary paragraphs. To filter post titles use the_title instead, it won’t add any markup tags by default: echo apply_filters(‘the_title’, get_post_field(‘post_title’, $post_id));

Removing title tags from each page

You can open your theme files and remove the code that adds this to the page. The typical files to look in are: index.php, page.php, post.php, single.php. Look for this: <h2><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></h2> or it might look like this: <?php the_title(); ?> You might want to comment the part of code out … Read more

Posts created in a Custom Post Type are lost if published without a title

The function that’s in charge of saving posts on the database (wp_insert_post) requires at the minimum a title and content: http://codex.wordpress.org/Function_Reference/wp_insert_post Edit: I created a quick and dirty jquery solution. Input this in your functions file or in a plugin: <?php add_action(‘admin_head’, ‘post_title_check’); function post_title_check() { ?><script type=”text/javascript”> jQuery(document).ready(function($) { $(‘input[name=”save”]’).click(function() { if($(‘input[name=”post_title”]’).val() ===”) { … Read more

Where do I change the ACTUAL title tag that is set in the header.php

You can do one of two things. The first, recommended way would be to use a plugin like WordPress SEO. Install it, and replace the <title> tag in your header.php file with: <title><?php wp_title(”); ?></title> Or you can change the title only for the home page by using the is_front_page or is_home conditionals. <title> <?php … Read more