The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
277 views

Add description to custom text widget and display the 5 recent post titles

I just started coding and working as an intern for a company. My boss asked me to create a custom text widget for practice in making word press widgets. The problem I am running into is I have no idea ...
0
votes
1answer
858 views

How Can I limit the visible part of the short-description on the Category page?

How Can I limit the visible part of the 'short description' in the Category Page? I found the code in theme/woocommerce/content-product.php, but whatever I try doesn't do a thing. <?php ...
2
votes
2answers
844 views

How to display a description of a given category from a custom taxonomy

I have a taxonomy called tcp_product_category. In the admin panel I have created a few terms within this taxonomy. On the homepage I want to display the description of one of those terms with the slug ...
0
votes
1answer
18 views

Why does the default Insert/edit link function in Visual mode in posts or pages produce full urls?

Situation: I'm using the default description field on a page in visual mode. I'm trying to link the words "news page" to the my news page. I pick the News page from the content list that is offered to ...
0
votes
1answer
95 views

Displaying a custom taxonomy term's name & description

How can I display a term's name & description for a custom taxonomy within The Loop (single post page template)? Currently I can show its name like this: the_terms( $post->ID , ...
0
votes
1answer
363 views

PHP code to call image Caption, Alternative Text, and Decription?

Is there a Wordpress PHP code to call an image Caption, Alternative Text, and Decription? I have several images with Titles, captions, alt text and Description fields filled and would like to display ...
0
votes
1answer
19 views

Loops in category description

I would like your help to find how to do a thing I need: I have some posts, for example: Article Title: Banana Article Title: Orange Article Title: Lemon Article Title: Strawberry All this ...
0
votes
1answer
54 views

Garbage code showing up in search result post descriptions

I don't know why this is showing up on all my post descriptions in Google: _// _ // ]]> // It is driving me crazy. I am new to this but feel this is the reason my posts are not posting ...
-1
votes
1answer
148 views

Manually Insert Title & Meta Description for Pagination pages?

This is second version of question Customized title tag for each page in pagination? answered by @joostvanhoof . I would like to add customized title tag <title> and different meta description ...
0
votes
1answer
74 views

How can I add a default description to uploaded files?

Is there a way to add a default description for media files as soon as they are uploaded to WordPress? Specifically, I want to modify the code here to extract the text from PDF files and include it ...
1
vote
1answer
200 views

Customized title tag for each page in pagination?

With the reference of below questions. How to change title tags on paginated posts? Paginate tags page How to change title tags on paginated posts? Add Page number to Meta Description in Wordpress SEO ...
0
votes
1answer
51 views

How can I add a Description column to the media library browser screen?

I'm trying to display the description of each file on the media library browser screen. I've found some code that adds a filename column, but I'm trying to modify it so that it will display the ...
0
votes
1answer
223 views

How to add description over forum list on bbpress root page

I have few forums added for bbpress and when displaing root page I have them listed. Now I want to add some description at the top to provide some intoruction to visitors. Does anyone know how to do ...
0
votes
1answer
709 views

How add short description Featured Products or Related Products

I would like to have a short description in the widget Featured Products or before the list Related Products. How can I do that?
2
votes
1answer
101 views

Why doesn't YoastSEO allow me to set the title/description for the home page? [on hold]

For some reason, YoastSEO set my home page to the first blog post. So the home page canonical, title, and description are set to the values of the first blog post. And when I tried to set the home ...
2
votes
1answer
79 views

How come my first blog post and my home page have the same title?

I am putting together a new blog and for some reason the home page took the title and description of the initial post. Is there a way to just set the home page title/description separately? I am ...
0
votes
0answers
171 views

Add Placeholder in WordPress Editor Content Box

I want to add a placeholder to the WordPress Editor content box. When you create a new post, the title field shows "Enter Title Here" exactly same like editor. I have used a filter to add text in the ...
0
votes
1answer
94 views

Insert term description programmatically into hierarchical custom taxonomy

I have following code and I want to specify a term description for each actor and director in $tmdb_actors_arr and $tmdb_directors_arr: // build array $my_post = array( 'post_title' => ...
0
votes
1answer
112 views

How do I begin debugging where the description meta tag is set for my categories?

I have the code base for my Wordpress theme, but where do I start debugging where the meta description tag is set for my theme. What I need to do is make it not be set because I set my descriptions ...
0
votes
0answers
34 views

How can I make the descriptions in the category pages not become meta descriptions?

I have a category, and all the page descriptions are showing up on the pages, which is what I wanted, but they are also showing up as meta page descriptions. So I am ending up with 2 meta ...
3
votes
4answers
2k views

Remove the category/taxonomy description field?

How can I remove the category/taxonomy description field? The one which shows up on the edit category/taxonomy page.
1
vote
1answer
3k views

How to use different short description in shop page and in product page in woocommerce

What I would like to have is the sentence "Entre em contacto connosco para saber preços Aqui" just in product page, not in shop page. Please take a look in this page: ...
0
votes
1answer
239 views

Category Descriptions - HTML?

Is it possible to allow HTML to be rendered in Category descriptions? My theme uses them quite a lot, and I'd like to style them better with images and links. This seems to be do-able from what I ...
1
vote
1answer
76 views

Get meta data from image

How can I get the description of the image? $album_id = get_the_id(); $photos = $wpdb->get_results( "select * from wp_postmeta where post_id = '" . $album_id . "' AND meta_key = ...
0
votes
1answer
123 views

“Item not updated” when try to change category properties

When I try to change some properties for some categories (in most categories it works without any issues), like category name, or description, I see that it is not updated, and I get an issue "Item ...
0
votes
1answer
304 views

Change wordpress meta tag description using WP functions

I do apprecciate this may sound like the usual question, but it is not. Just to let you understand I do not need to install one of the many SEO Plugin and change it on the box before content is ...
0
votes
1answer
258 views

Display term description on hover using get_the_term_list

I have a custom taxonomy called services. Each service term will have a description. I am using get_the_term_list to show all the terms attached to each post. When hovering over the term link in the ...
0
votes
1answer
284 views

Clean links in: the_author_meta('description')

I need to clean any links returned from the_author_meta('description') The code I use is simply that: <p><?php the_author_meta('description'); ?></p> I Searched old question but ...
0
votes
2answers
276 views

How do I increase the 255 character limit on the 'description' field for link library links?

My descriptions are being cut off and I need to increase this field to accomodate more text. Thanks.
0
votes
1answer
485 views

Image “description” and SEO within WP

I've been told here and there that the "description" is important for SEO purposes and it's an optional, but should be filled in, attribute on WordPress when inserting an image. I never ever fill ...
1
vote
1answer
483 views

Shortcode content does not show in feed discription/excerpt

I have a shortcode for my content. This shortcode organizes a couple of things in my posts on the frontend. However, when I look at my feed, the content in the entirely leaves out any content from ...
1
vote
0answers
33 views

My “Description” in gallery doesn't accept formatting/html

that's the part of my attachment-page that's responsible for showing image description, which I put when adding a new media (I'm using standard wordpress gallery): < ?php the_excerpt(); ?> Well, it ...
2
votes
0answers
188 views

How to display term description in empty terms archive?

I list all terms from a taxonomy, even the empty ones, but I found out that at least in 2010/2011 themes I got a 404-like message, the default seems to only display the term description when at least ...
1
vote
1answer
564 views

Get custom taxonomy description with paragraph tags

I am printing the description for a custom taxonomy of artists with the following code: $terms = get_the_terms( $post->ID, 'artists'); if ( $terms ) { // loop ...
0
votes
1answer
324 views

Unsetting post_tag taxonomy breaks term description for other taxonomies

Here's something I can't figure out. I don't need the default post_tag taxonomy, so I'm removing it with this piece of code : function mwm_unregister_taxonomy(){ global $wp_taxonomies; ...
1
vote
2answers
378 views

Show preset taxonomy description

In educational courses database, institute is used as custom taxonomy. How can I display description of "institute" taxonomy in all related posts as one institute will have at least 50 posts ...
1
vote
1answer
491 views

How to modify an existing meta description?

I'm coding a plugin that allows me to dynamically insert content for my meta description and title. The content is already being pulled fine, the only part I can't get to work is actually filtering ...
1
vote
1answer
111 views

How to automatically remove links from WordPress Biographical Info?

I want to automatically remove any kind of links from author's Biographical Info instead of doing it manually everytime. Whenever a user adds any link to the Biographical Info box, it should be ...
0
votes
1answer
317 views

wp_insert_term does not insert description. [closed]

I'm using this code. I cannot figure out what the heck is wrong with it? $args = array( 'description',"My Desc", 'slug' => "My Slug", 'parent' => 0 ); $result = ...
1
vote
2answers
225 views

Change Site Title and Description html tags if not home page

For the purpose of good HTML structure, accessibility and SEO I'd like to change the site's title and description from H1 and H2 to P when appearing on any page other than the homepage. A conditional ...
0
votes
1answer
515 views

Allowing users to add HTML to BP Groups Description how can I error check html of users? [closed]

I am trying to modify the Group Description field on Buddypress Groups so that they can take HTML but Buddypress has filters to prevent this. I used this; remove_filter( 'bp_get_group_description', ...
1
vote
1answer
558 views

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()?
0
votes
1answer
698 views

Change description of my Jetpack facebook shared links [closed]

When I try to share a link from my WordPress site on facebook using the Jetpack Sharing Settings the link shows up like this: (My Featured image picture here) Put a hat on yo’ baby! | Trendz with ...
0
votes
1answer
192 views

Description of a sub-taxonomy

I am using this code to display description of a taxonomy. <?php $my_taxonomy = 'institute'; $terms = wp_get_post_terms( $post->ID, $my_taxonomy ); echo term_description($terms[0]->term_id, ...
0
votes
1answer
332 views

how to remove description from menu buttons?

I just installed Wordpress into my server and I am currently using the "graphene" theme to test my wordpress blog. I have two pages in addition to the front page, which is "about us" and "sample ...
0
votes
1answer
130 views

How do I urlencode() the blog description?

I have a series of share buttons, each one using a short URL (using Ozh's Yourls plugin) and a page title (as found on urlencoding of the_title() doesn't work?) and some require a description. ...
0
votes
1answer
342 views

Display a tag only if there is a description

I'm building a site glossary and trying to display only tags with descriptions. Is there a way to determine if the description is available and only display the tag when it is? Here is where I am so ...
0
votes
1answer
590 views

Show Subcategory Description

I'm using the following code to show the subcategories of a category within my archive.php page: <?php if (is_category()) { $this_category = get_category($cat); if ...
0
votes
1answer
980 views

show term description instead of list terms of custom taxonomy

For a custom post type (review) I have enabled a few custom taxonomies. One of them is author rating and for that I have added images to the description field of the terms in the taxonomy (1 star to 5 ...