Changing the Quote text, "wrote"

Go down

Solved Changing the Quote text, "wrote"

Post by Kazegami on March 8th 2016, 1:21 am

Hello,

When I use the "Quote" tag, it writes "**** wrote".

As per the image below:


I want to remove this wrote.

I can navigate myself to using the Display > Templates and the Display > Colors > CSS Stylesheet.

But I don't know how I can change this particular thing.

I thank you in advance for your attention!


Last edited by Kazegami on March 8th 2016, 2:11 am; edited 1 time in total
avatar
Kazegami
New Member

Posts : 10
Reputation : 1
Language : English

http://elitetriforce.4umotion.com

Back to top Go down

Solved Re: Changing the Quote text, "wrote"

Post by An on March 8th 2016, 2:04 am

That's probably not in the templates, but the script below can remove what you want.
Code:
$(function() {
  $('cite').each(function() {
    var html = this.innerHTML,
        regex = /\s\w+:$/;
       
    if (regex.test(html)) {
      this.innerHTML = html.replace(regex, ' :');
    }
  });
});

Install it via javascript code management under the modules tab.
avatar
An
Forumember

Posts : 44
Reputation : 24
Language : English

https://help.forumotion.com

Back to top Go down

Solved Re: Changing the Quote text, "wrote"

Post by Kazegami on March 8th 2016, 2:10 am

Hello An,

It worked wonders.

Thank you very much for your quick reply!
avatar
Kazegami
New Member

Posts : 10
Reputation : 1
Language : English

http://elitetriforce.4umotion.com

Back to top Go down

Solved Re: Changing the Quote text, "wrote"

Post by SLGray on March 8th 2016, 2:31 am

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43519
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum