1
vote
3answers
28 views

Multiple Conditions for Child Page Title

I've been trying to work with Conditional Tags and cannot wrap my head around this problem. PHP novice here. On sub-pages I need to display the parent page title as well as the page title. I have it ...
1
vote
0answers
136 views

Auto Add Image Title,Caption,Alt Text,Description while uploading Images in WordPress

Can anyone tell me how to auto fill/add same image title in title, caption, alt text and description while uploading any image in my WordPress Posts.
-2
votes
1answer
142 views

Weird html output of single_cat_title - is not inside of the html element?

I'm displaying a single "featured" post at the top of the blog index page, and category pages. I'm using this conditional to display the category name of the category page if it is a category page, ...
1
vote
2answers
164 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
2answers
619 views

Wrap the_title_attribute in a H2 within a Conditional Tag?

I have the following that works fine.. elseif( get_post_type($post->ID) == 'press' ){the_title_attribute();} However, i need the aforementioned title to be wrapped with a h2 tag. Tried this but ...