Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Changing the Text - LInked Blog Post Plugin
Avatar
Jinobi Narain
Rookie
Free Members
sp_UserOfflineSmall Offline
Apr 22, 2014 - 10:42 am

Hi,

I am using the Linked Blog Post plugin and would like to change the "Read the original blog post" text displayed  above the post to "View the original presentation" as I am using this for a video blog.

However, I do not wish to using .MO files and translate the plugin for this small change. Also my codestyling localization plugin shows some incompatibility.

Could you let me know which PHP file has this text included so that I can change that replace?

I appreciate your assistance.

Regards,

JN

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 22, 2014 - 12:53 pm

This is a very simple edit to a template. So - inthe .templates folder of the SP theme you are using locate the template spTopicView.php.

Find the entry - about half way down - for the display function sp_TopicHeaderShowBlogLink(). It probably looks something like:

if (function_exists('sp_TopicHeaderShowBlogLink')) sp_TopicHeaderShowBlogLink('', __sp('Read the original blog post'), __sp('Click to goto original blog post'));

and you can see in there where the text is passed to the function so you can change it to whatever you prefer.

As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625