Questions tagged [description]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Help with get_categories code

I have listed the following code below, and where it is pulling the sub-title into the banner I need to change this to pull the category of the linked article instead. This is the link to the website ...
Richard Pearson's user avatar
0 votes
2 answers
73 views

Wrong site title and description in google search

as i said in the topic, i can't change the title and the description of the google search of my website (new website btw). I tried to change the title by Theme description, by wordpress settings and ...
Giorgio's user avatar
0 votes
1 answer
95 views

Can't display user bio

I have the ACADP listing plugin installed on my site. A registered user has a /user-listings/ page that displays all of his listings. I would like to display this user's bio on this page, but I can't ...
miksafro's user avatar
0 votes
0 answers
210 views

get meta description of rank math in single post for schema

I am using rank math plugin and I attend to use this code to get meta description of single post <?php $rankmath = get_term_meta($current_category_object->term_id, 'rank_math_description', true);...
akhbarejadid's user avatar
0 votes
0 answers
19 views

How can I fixe the article title problem?

Theme used:Zakra Site address : https://numadigit.com Hi, I have noticed for a few weeks that my sites under WordPress are misinterpreted for the SEO tag by Google. Indeed, in the title tags of the ...
Hermes Gédéon HOUNKANLIN's user avatar
0 votes
1 answer
274 views

How to set the meta description of a WooCommerce product as its primary category description?

I asked Yoast SEO support about this as I'm using their plugin, but they don't have this feature: Instead of having to set a meta description for each WooCommerce product I sell, I'd like to set it ...
Guillaume's user avatar
  • 103
1 vote
0 answers
28 views

Custom Tag Description unable to display just below and outside of the Loop

Hello StackExchange Team! In my wordpress tags for custom post type, the code <?php echo term_description();?> or outputs fine just outside and above the loop. The problem I am having is that ...
Okara Nnamdi Benedict's user avatar
0 votes
1 answer
301 views

Wordpress Show Parent Category Description for Sub-categories

I'm using the Category description, for the parent category, to display above the posts on the category.php page. But, this desc doesn't show on any sub-categories of this parent category, and there ...
revive's user avatar
  • 225
0 votes
1 answer
193 views

Add description to custom plugin setting

Using add_settings_field(); i am able to add my custom setting: add_settings_field('AUTOPLAY', 'Auto Play', 'printAutoPlayCheckbox', 'my_settings'); function printAutoPlayCheckbox() { $id = '...
TheDoctor's user avatar
  • 103
0 votes
1 answer
222 views

How to Get The Excerpt of the page that displays Blog Posts

I use a static page (Blog) to display the latest posts. I want to show the excerpt of that page next to the title. However, wen I use wp_kses_post( get_the_excerpt() ), I get the excerpt of the latest ...
Badan's user avatar
  • 215
0 votes
1 answer
92 views

how to hide empty fields of post category description?

I am creating one website from scratch, where I have to display Category description, how to hide the div, if there is no description written in backend for the post category? my codes are: <div ...
Ricky's user avatar
  • 53
0 votes
1 answer
379 views

How to hide description on categories and tags?

Does anybody know how I can hide the descriptions from view for the categories and tags for my website? I have searched for a while but can't find any solutions. I would like it so that when they are ...
Law Lessons's user avatar
0 votes
1 answer
30 views

How to test If a post has a particular term

I want to display a different description for a post if it belongs to a specific product category in a filter. I've used the code below code to add the code but it is displaying for all products: ...
Ahmad Darwish's user avatar
0 votes
1 answer
533 views

How to display category and tag descriptions in a post

I want to display the category name and description in every post automatically. I have been trying the method of wpbeginner and searching in other platforms but it's not working for me. I cannot ...
srgo's user avatar
  • 1
0 votes
1 answer
245 views

Display site description instead of site name

I'm wondering how to display all the network sites in WP Multisite by displaying site description instead of site name. Below is the code provided by the expert in WP in this community. It's now ...
Jornes's user avatar
  • 733
0 votes
1 answer
1k views

add woocommerce archive description if exist

i want show category description on my archive product page i add this code to my template: <?php if ( category_description() ) ?> <div class="myproductdescription"><?php echo ...
mostafa's user avatar
0 votes
1 answer
343 views

How to select a paragraph other than the 1st to be the post's excerpt?

My WordPress website has 3 paragraphs and one featured image in a post. How do I make the last or last before para to be the post description?? Are there any plugins to do that? Am already using All ...
shanganithi's user avatar
1 vote
1 answer
121 views

Move category description below post list in blog

i am good looking for a way to move - in blog page - the category description under the post list instead of above by default. Can i do that with a php function without changing the theme files ? ...
JojoLapin75's user avatar
0 votes
0 answers
137 views

How to prevent tag "iframe" from being deleted from the heading description of rubric?

I can’t insert html tag "iframe" in the description of the rubric/categories. The tag is deleted along with the content. How to prevent tag "iframe" from being deleted from the heading description?
rikitikitari's user avatar
0 votes
1 answer
422 views

How to display featured image description and title?

I'm displaying a featured image (as a background) in a hero div, and using the caption to add some content from the Media Library automatically. I'd also like to use the image's description field and ...
GodWords's user avatar
0 votes
1 answer
27 views

Something adding an excessive meta description

I have a WordPress running with Woocommerce and a commercial theme. My problem is that something is adding an extra meta tag(og:description) and it is getting on my nerve since it's content which is ...
Mahdi Moafi's user avatar
0 votes
1 answer
48 views

How to add a link to an external website in the description of a customizer control (with Kirki)?

I'm building a Wordpress theme and I use the Kirki Customizer framework to add controls and settings to the customiser. I added a description to some controls, using the following code: 'description' ...
ralphjsmit's user avatar
0 votes
1 answer
691 views

How do you change the site preview description/thumbnail

I'm not quite sure what this is called so I'm not sure what to search. How do I change the website's URL preview image and description? For some reason it's an email and I can't find where to change ...
user178569's user avatar
0 votes
0 answers
268 views

How can I remove the product short description from the WooCommerce Mails?

I do have a rather large short description because it does fit perfectly with my theme, but unfortunately those information are added to the emails that are send to customers and mess with their ...
Flo's user avatar
  • 1
0 votes
0 answers
165 views

Limit user description length in characters

How can I limit character length of user description field? I want to restrict users within 250 characters. I've added the code to solve this- add_filter( 'pre_user_description', '...
akarim's user avatar
  • 195
0 votes
0 answers
2k views

How Can I Display the Category Description in a Theme with no Category.php or Archive.php?

I'm trying to display the category description on category pages below the title (category name). The challenge is that my theme is based on _s and doesn't have category.php or archive.php files ...
user171021's user avatar
1 vote
1 answer
1k views

Change description on specific WooCommerce product status change

In WooCommerce, when I add couple of code lines to change the product description, on product status change, the website throw an error when submitting (saving). My code: add_action('...
zEn feeLo's user avatar
  • 207
1 vote
1 answer
915 views

HTML tags in bloginfo description

I'm trying to set some <span> tags in the bloginfo description. So I put this in the blog description field: <span class="name">Archive | Navarro Vives</span> <span>is a point ...
aitor's user avatar
  • 585
0 votes
1 answer
199 views

Line break description wordpress

Currently in Wordpress 5.1, I create custom fields including a description field using the text editor of worpress, however I encounter a problem no line break is made. Is there a function for the ...
Jeanne Thibert's user avatar
0 votes
0 answers
25 views

Post Thumbnail: Is there a possibility to add a description to the meta box? [duplicate]

Probably many of you are using the Post Thumbnail feature: https://codex.wordpress.org/Post_Thumbnails I wonder if it is possible to add a description to the post thumbnail meta box in the admin area....
Blackbam's user avatar
  • 535
0 votes
1 answer
82 views

Trying to update the meta description of the home page

We use the Yoast SEO extension and under Search Appearance, in the meta description box, I have updated our Wordpress blog's meta description an saved the changes. It has however been more than a ...
Marina's user avatar
  • 3
0 votes
1 answer
90 views

How to fix a duplicated meta description?

When audit our website in Google webmaster too, I saw duplicate meta descriptions every pages. I am using: - <?php bloginfo('description'); ?>
Humble's user avatar
  • 1
1 vote
1 answer
866 views

Header style different on home and remaining pages

Would it be fairly simple to add different site header and menu styles and assign them to specific pages? I have very basic understanding of how CSS and php work and managed to customise the theme but ...
el Huzar's user avatar
0 votes
1 answer
249 views

Get Term ID by Description

I need to return the taxonomy term ID based on the terms description. Is this possible? I know the description along with the term ID is held within the wp_term_taxonomy table. However I was ...
user142553's user avatar
2 votes
2 answers
1k views

How to display post content instead of excerpt

I am using a plugin, and to get around something I need to add some text to the excerpt field on my posts, but I don't want to display the excerpt field data on the front end, but rather the post ...
Edegist's user avatar
  • 133
0 votes
2 answers
185 views

How strip the quotation from the meta descrption?

I checked the HTML validator. But, the message is the following. Quote " in attribute name. Probable cause: Matching quote missing somewhere earlier. The meta description is automatic from the ...
Yoos's user avatar
  • 1
0 votes
0 answers
229 views

Reorder title tag and description tag with wpseo_title and wpseo_metadesc

I'm trying to change the order of the title tag and description tag (CMS Wordpress, plugin Yoast SEO). Now in the code of the page it looks like this: <title>something ...</title> <...
jajck_xx's user avatar
0 votes
1 answer
137 views

How do I change the style of just a part of the tagline?

I'd like my tagline to have specific styling - but not all of the tagline, but just some words should be bold/italised/different color. How do I wrap <span> around specific tagline words? Can it ...
AffectionateOrange's user avatar
3 votes
1 answer
1k views

Show menu item description with line breaks

I have a problem with my theme... I use Agama, and i've checkmarked "description" in the menu settings, but it won't display it on the frontend, since the theme doesn't allow it. But then I found ...
Morten Buller Resen Kibsgaard's user avatar
0 votes
2 answers
433 views

HTML code in WordPress menu description

I tried to place HTML code in WordPress menu description, it's showing an inline code <i class="fa fa-cloud"></i> instead of an icon. Already tried that one but still not working // ...
Maan's user avatar
  • 135
0 votes
1 answer
409 views

How to access into the description of a sub menu

Well, I'm trying to get the description of a menu item and of a sub menu with the code attached below, but I'm not able to get it. I'm trying to get the description of "About us" and the description ...
Jordi Vicens's user avatar
0 votes
1 answer
36 views

View tag description on page

Everything works except tag description. Could you help? <?php while($my_Property->have_posts()) : $my_Property->the_post(); ?> <div class="ListaP" style="width:32%; display: ...
Michał Misiek's user avatar
0 votes
0 answers
32 views

New term taxonomy and description in front page. Input's

what's up guys. In front page i'd like to make 2 text form input's to new term to a taxonomy and discription to this term. I've got a code to add a new term wp_insert_term( 'Apple', // ...
Michał Misiek's user avatar
0 votes
1 answer
57 views

Why last blog post excerpt is shown instead of meta description? [closed]

Instead of meta description of my main page Google shows excerpt from my last blog post. How do I fix that?
Vladislav Makeev's user avatar
0 votes
1 answer
30 views

Assign a default description to new terms under a custom taxonomy

When I create a new term for a custom taxonomy, I would like it to be assigned a placeholder description. The description would be the same for all new terms and can be manually changed if I want to ...
mastercoeurl's user avatar
1 vote
2 answers
364 views

Return post tags with description

I've got a shortcode working to return tags that are used on a particular post but can't figure out how to return the description with it. function returnpost_tags(){ return get_the_tag_list(''...
Trip Vendors Inc's user avatar
2 votes
1 answer
50 views

Adding a video description in a similar way to a image caption

I'm looking for a solution to add a short description to a embed video that will allow for it to be styled a bit like the one that is used for images. The only option I have found is using ...
Josh's user avatar
  • 59
0 votes
2 answers
8k views

Where does Yoast SEO plugin sets the site/page title?

I am running on WP 4.7.2 and Yoast SEO 4.4. I want to append a PHP variable to all titles. But it seems I am not able to do that. I have read that wp_title used to be the method before WP 4.4, then ...
KingsInnerSoul's user avatar
4 votes
2 answers
23k views

How I can get image description/title/alt for gallery image?

I'm displaying a gallery image but I also want display the caption for image. I can get the info that we insert when us upload a image in WordPress Dashboard like "Title/Caption/ALT/Description". I ...
Zkk's user avatar
  • 175
0 votes
1 answer
509 views

Add visual editor to Media Edit Screen

As of version 3.5, Wordpress added Quicktags to the media description field witch is an improvement over the simple textarea. However, I need a full Wysiwyg editor for a project I'm working on. How ...
hand_coding's user avatar