Support » Plugin: WordPress RSS Feed Retriever » How to remove the prefix word “Published:” for date

  • Resolved timb111

    (@timb111)


    Is there a way to remove the word “Published:” from the displayed RSS feed?

    I’m using an events plugin that lets me put the event start date in the <pubdate> tag, and I want to either put a custom prefix word or remove “Published:”. Is there a way to do this?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Travis

    (@tjtaylor)

    Hello,

    Currently, you cannot remove the published text. I’ve added this to our feature request list and will be included in a future version. Alternatively, the pro version has an option to replace the text with an icon.

    I’ve done this with some hacky CSS–set the .wp_rss_retriever_date font-size to zero, then set the font-size of the span within that div back to normal. Be sure the styles are in the correct order:

    .wp_rss_retriever_date {
      font-size: 0px; /* this removes 'published' before date */
    }
    .wp_rss_retriever_date span {
      font-size: .85rem; /* restores normal font size to display actual date */
    }

    Screen-readers will still pick up the ‘published’ text, but it won’t be displayed visually.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove the prefix word “Published:” for date’ is closed to new replies.