Need help to add date and byline under title
-
I am building a new child theme of Twenty Twelve based on my current child theme I did for Twenty Eleven.
I want the posted date and my name on the line below the title. In 2011 there was a function called twentyeleven_posted_on() that did this in the content.php now it looks like WordPress has decided I don’t need this any more.
So I tried to create a custom function that was like twentyeleven_posted_on() but it is not working. It isn’t echoing the data when I call the function
Here is the function and call
https://pastebin.com/sdwcPKckHere is an image of how I want it to look:
Example of how I want it to look
If there isn’t any tips for me could someone let me know of another way to get what I want?
- The topic ‘Need help to add date and byline under title’ is closed to new replies.