Tagged: x
-
AuthorPosts
-
June 18, 2016 at 2:32 pm #1048636
AmirParticipantHello,
Is there a way to add the post date as an element anywhere I prefer in the post page?
I disabled the default post entry header in my posts, however, I am wondering if I could add the post date meta only underneath the Title of my post; which is within a section. Preferably with the calendar icon.
http://www.2-excel.com/page-template/
Thank you
June 19, 2016 at 1:55 am #1049005
Rue NelModeratorHi There,
Thanks for writing in! By default, post meta appear under the title but you have hidden it by adding this code:
header.entry-header { display: none; }At this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
Thank you.
June 19, 2016 at 8:22 am #1049210
AmirParticipantHello,
Thank you for your reply and sorry for not being clear enough.
I basically disabled the default post meta as I wanted to achieve a specific design, so I had to manually create a section when creating my page for the post details.
http://www.2-excel.com/page-template/
For example in the link above, you can see that there is no post meta, however, in my first section I added a custom header and entered the post header. While I can also do the same for the date and enter it manually in every post, I am just wondering if there is a code that would help me achieve this result. So its like adding the post date meta as a raw content (maybe)? I am not sure if it’s possible, but it would be helpful.
I attach an image of how I am aiming the final result to look like.
Thank you
June 19, 2016 at 2:45 pm #1049475
RadModeratorHi there,
Since you have a different design that wishes to manually input as raw, then your code and content are unique. But, you can convert your content to a shortcode, that way, you can just add the shortcode manually for each post. Would you mind providing the content you wish to add for post meta?
Thanks!
June 20, 2016 at 1:10 pm #1051102
AmirParticipantHi,
Thank you for your reply. That sounds like it would solve my problem.
I would like to add the following content: Date, Category and number of comments.
Thanks.
June 20, 2016 at 3:27 pm #1051357 -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1048636 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
