Tagged: x
-
AuthorPosts
-
May 7, 2016 at 11:56 am #980255
nickharambeeParticipantI would like to add metadata, to my blog entries and also to the list of articles on the parent blog page. I have tried following the instructions in this topic, and other similar topics where I should change my child theme’s functions.php file, without any success (nothing changes).
I am using the Icon Theme if this makes a difference.
I’d be grateful of some help asap as I need to get the blog live tomorrow.
Thanks!
Nick
May 7, 2016 at 11:56 am #980256
nickharambeeParticipantBlog is here in case you need it: http://open-dialogue.net/news
May 7, 2016 at 10:35 pm #980653
Rue NelModeratorHello Nick,
Thanks for writing in! The Post meta is already integrated in the X theme. All you have to do is to enable it in the customizer. Please go to Appearance > Customize > Blog > Content and check the setting “Post Meta” if it is turn on/off.
Hope this helps.
May 9, 2016 at 4:08 pm #983004
nickharambeeParticipantHi Rue,
That setting has been enabled all along, but I only see the title of the post and the date, no author name and no avatar: http://open-dialogue.net/news/. I would like to see this on both the blog page with all entries showing and the page for each blog entry. Also I’d like to hide the icons if possible.
Thanks,
Nick
May 9, 2016 at 11:57 pm #983521
RupokMemberHi Nick,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Also make sure to remove all customization from Child Theme related to this issue.
Cheers!
May 10, 2016 at 5:02 am #983793
nickharambeeParticipantThis reply has been marked as private.May 10, 2016 at 5:03 am #983794
nickharambeeParticipantThis reply has been marked as private.May 10, 2016 at 7:48 am #984000
Paul RModeratorHi Nick,
1. To remove icons, you can add this under Custom > Edit Global CSS in the Customizer.
body .entry-title:before { display:none; }2. By default icon stack only has the title and date as seen here – http://theme.co/x/demo/icon/1/blog/
To add the author, you can add this in your child theme’s functions.php file.
function x_icon_entry_meta() { // // Author. // $author = sprintf( '<span><i class="x-icon-pencil" data-x-icon=""></i> %s</span>', get_the_author() ); // // Date. // $date = sprintf( '<span><time class="entry-date" datetime="%1$s">%2$s</time></span>', esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); if ( x_does_not_need_entry_meta() ) { return; } else { printf( '<p class="p-meta">%1$s%2$s</p>', $author, $date ); } }Hope that helps.
May 10, 2016 at 8:00 am #984016
nickharambeeParticipantThanks – that works, but I would like to add the avatar as well.
Nick
May 10, 2016 at 10:26 am #984264
ChristianModeratorYou’re welcome, Nick. Regretfully, further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding.
May 10, 2016 at 10:36 am #984273
nickharambeeParticipantMmmh. I would have thought that having a picture of the author of an article is fairly standard on blogs, so I don’t think this is an “in depth change” that I should have to pay a developer for. Is there really nothing else you can do?
May 10, 2016 at 3:11 pm #984693
DarshanaModeratorHi there,
Author information usually resides in the bottom of the posts. You can use our Author Shortcode for that (http://theme.co/x/demo/icon/1/shortcodes/author/).
Hope that helps.
May 10, 2016 at 5:22 pm #984869
nickharambeeParticipantThanks. I may well use this at the bottom of my blog entries, but I would also very much like an avatar of the author next to the title.
May 11, 2016 at 1:20 am #985385
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> CSS :
h6.h-about-the-author { float: right; width: 86%; }Hope it helps.
May 11, 2016 at 3:48 am #985529
nickharambeeParticipantNot sure how this relates to the avatar – is it even possible to have the avatar showing in the ‘About the Author’ box?
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-980255 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
