Jump to content

Archived

This topic is now archived and is closed to further replies.

nfp1900

removing comments from the Author Avatar Mode

Recommended Posts

nfp1900

Configuring the full width post metabar with the shortcodes works fine when I want to strip out comments but I'd prefer to use the Author Avatar Mode. However, I can't see how to suppress comments - what's the trick here?

Share this post


Link to post
Share on other sites
Jake

Hi nfp1900 - I think you may have brought a bug to our attention. I've just tested it and it does appear the custom meta is not applying when in Author Avatar. I'll let the developers know right away. In the meantime, you can hide the comments via CSS as follows:

 

.article-wrap .author-tag .tag-comments {display: none;}


Have you searched the forums yet or checked out the DMS user docs?

PageLines geek, blogging at MyUntangledLife.com

Share this post


Link to post
Share on other sites
nfp1900

thanks a lot, comments gone from the Avatar option with that CSS

Share this post


Link to post
Share on other sites
Rob

:)


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Simon

1.1 has new 'action' example:

 

add_action( 'pl_get_author_tag', function() { echo '<p>[post_date]</p>'; } );

Share this post


Link to post
Share on other sites
williamweber

Has this issue been fixed? I'm trying to use Author Avatar Mode in the base DMS theme and nothing seems to change what's appearing in the meta information. It keeps showing the full meta information (author, date, category, comments). 

 

Share this post


Link to post
Share on other sites
Danny

The Meta info in the PostLoop options is for the Metabar mode, if you want to customize the Avatar mode, you will want to use the code Simon provided above and add the shortcodes.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
onespirit

Hi Danny

 

1) Where is the code that Simon provided added exactly?

 

2) How would I make the Meta Info appear like it does on the Page Lines Blog:

 

http://www.pagelines.com/blog/

 

where the author avatar and lets say comments are on the left of the featured image and the date & post category is below the featured image but  before the text excerpt?

 

Thanks

Share this post


Link to post
Share on other sites
greenfly

i dont recommend using the action unless you are familiar with the concept and have reading around this 

 

start here http://codex.wordpress.org/Plugin_API/Action_Reference


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

  • Similar Content

    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a few weeks ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a week ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
    • MissT
      By MissT+
      Hi there,
      I've got an issue with 3 websites built with DMS since I migrated them from http to https that I need help with please.
      When any changes are made - e.g. new posts added or existing posts amended - certain sections of the live site seem to break e.g. image headers hang and don't load (b/g on canvas section), sliders hang and don't load (Revslider), flipper section doesn't load.
      Logging in and then clicking 'Edit the site using DMS' seems to fix the problem. Often if I try to open up another browser window to edit the site / re publish I'm unable to as the page wont load / hangs while trying to load.
      Any ideas how to fix this? On a couple of the sites I've installed a caching plugin as I thought it might be a loading speed issue but it's still happening.
      Website URL's can be provided privately.
      Many thanks in advance.
×