Jump to content

Archived

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

JudithKlinger

Single Bits - Remove "this post last edited"

Recommended Posts

JudithKlinger

Help! I urgently need to remove the "This post was last edited..." that is now appearing anywhere that I've used Single Bits for a post. 

James Giroux kindly provided this reply...but it does nothing. HELP! 

This is from the Single Bits section by Ellen.  The code to add to the functions.php to remove this is:

if(class_exists('elsueSingleBitsPlugin')) {
  $instance = elsueSingleBitsPlugin::this();
  remove_filter('the_content', array($instance , 'add_mod_hatom_data'), 5 );
}

Share this post


Link to post
Share on other sites
JudithKlinger

I found the answer. I needed to find the functions.php inside the theme. When I did that it removed that pesky edit notice. 

 

Share this post


Link to post
Share on other sites
batman

Hi

You can add this to a "function directory" in a child theme, this is the better way
Please, you take a look to this
https://codex.wordpress.org/Child_Themes

 


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites

  • Similar Content

    • JudithKlinger
      By JudithKlinger+
      I'm stuck in a loop. We're developing a magazine type format and having been using Single Bits Single Post as the template..fine, no problem. Looks great! 
      But, some of the articles now have either a lot of media, or multi media, so we wanted to set up another template for these posts. But, if I change the media content on one post, it 
      changes it on the others. I've tried setting up Custom Posts, but that removes the post from the wp post "categories" and then deletes the post from something like HoverNews that pulls by category. 
      So how do I have the media change for each post? I've tried setting up a separate template for each of these particular, media specific posts...but that doesn't help either because they are posts, not pages. 
      Can PM you the link as the site is not live yet. Thanks!!
    • stoltz
      By stoltz+
      I want to change the text color of the post title in a specific post - How do I do that through CSS?
       
      I've downloaded a plugin which allows me to add custom CSS in specific posts, but I do not seem to get the selectors right.
       
      I am using the light-bg class on the single-bit container as well, which then includes a single-bit with the post title.
       
       
       
       
    • flourishdesignstudio
      By flourishdesignstudio+
      I am working on a website right now that uses custom tab colors that also match the background color of the tab content area. However, when a tab is open the tab bg color appear slightly different than the bg of the content area. I have double checked all my setting and can't seem to find a way to override this. 
       
      Would a link be helpful so you can see what I am referring to? I will include a screenshot in case that works...
       
      Thank you so much for all your help!
       
    • arlomiller
      By arlomiller
      I would like to use Single Bits to show the most recent post made into a custom post type I've created called "Specials".  This doesn't seem possible though, am I missing something?
×