Articles of title

Looking for Add Title Tag on Feature Images on WP

I am facing problem with adding title tag on feature images and also thumbnail posts. I tried to find out but not successful to resolve these kinds of issues. Kindly help me please how to add title image tag on feature images on WordPress.

Editing Header Titles of each details in woocommerce Order Email

I’m using flatsome theme, woocommerce plugin. On my thank you page I get the bank details, order details and customer details etc. but on customer order email, header TITLES of those details are different from those that are shown on the thank you page. Is there any way I can change the header titles of […]

Locating Global Variables

I am now the admin of our company site using WordPress. We’d like to change some things on the home page, but unfortunately the items we want to change seem to be built in to the theme. I want to change the text overlay of our image slider. I’ve found the HTML that displays the […]

Add anchor text to php

I am using this code to display a list of child pages of a parent: <?php global $post; // Setup the global variable $post if ( is_page() && $post->post_parent ) { // Make sure we are on a page and that the page is a parent. $kiddies = wp_list_pages( ‘sort_column=menu_order&title_li=&child_of=’ . $post->post_parent . ‘&echo=0’ ); […]

REQUIRED: The theme must not used the <title> tags. | REQUIRED: The theme must not call to wp_title()

I am getting these three warnings while running the theme-check plugin. REQUIRED: The theme must not used the <title> tags. REQUIRED: The theme must not call to wp_title(). REQUIRED: The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output I am using this in my headers <title></title> […]

Add title, post content, and category like add_post_meta and update_post_meta

How can I update/add a new title, post content, and category to a post with hard PHP code similar to add_post_meta(), update_post_meta()?

How to sanitize post title with commas

I need to sanitize WordPress title with commas that is using commas to replace the spaces. i used this but didn’t worked for me echo sanitize_title_with_commas(“the_title”); What i mean is: if this is the main title this is WordPress forum when I use the code it will become this,is,wordpress,forum Thanks in advance.

How can I list recent posts excerpts?

I am using this directly from the codex to list 3 recent articles titles. <ul> <?php $args = array( ‘numberposts’ => ‘3’); $recent_posts = wp_get_recent_posts( $args ); foreach( $recent_posts as $recent ){ echo ‘<li><a href=”‘ . get_permalink($recent[“ID”]) . ‘” title=”Look ‘.esc_attr($recent[“post_title”]).'” >’ . $recent[“post_title”].'</a> </li> ‘; } ?> </ul> This works fine however, when I […]

How to get post category title within the loop?

I’m stuck in a rather simple task: to get the category title for the current post, within the loop, to be used in the function (not to be automatically printed). Any ideas?

How do I set the blog name?

I am new to WordPress and don’t know how to set the “blog name”. I need to change a current value that has been coded (or set) somewhere for the home page only. It is appearing in the title, and I don’t know how to update it. Thanks.