Support Forum

Changing the Text – LInked Blog Post Plugin

JN Jinobi Narain
Jinobi Narain
Member

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

1 Answer

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

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/codex/themes/theme-basics/creating-a-theme/)