0
votes
0answers
29 views

Choose to show or not show title on a template?

I want to show the page title in some pages but on others I don't. I'm wondering how to do it. I thought about using differente content templates one with title and one without. But I'm wondering if ...
0
votes
2answers
141 views

Insert Message before content of after title

How can I insert custom message after post title. For example The Post Title My custom message
0
votes
0answers
27 views

how to code if the page doesn't exist execute and display this content?

I am trying to develop a wordpress theme, I having hard time on how to code on how to support on this: if I don't have any page created yet, there is a substitute title and content displayed. Is ...
1
vote
1answer
72 views

How can I automatically insert the page content as the title?

I have a custom post type with no Title field. These are short status messages, where only the content matters. The RSS feed and permalink display the title as Auto Draft, which is not very useful. ...
1
vote
2answers
224 views

Testing for post title in 'if/else' statement returns no content

I'm testing for a certain fixed post on an about page, I guessed that the best way is to test for post title (?). Here's my code, what's going wrong? <?php if (is_page()) { ...
0
votes
1answer
97 views

Take excerpt of the content of the post and send it as the title to create new post

Explaining my goal: I would create the title by taking the first words of the post content. Ex: In the Admin interface would be the title field blank and the first 10 words of content would be sent as ...