• fredbradley

    (@fredbradley)


    Hello,

    In your config.php you define the following:
    define("WP_RP_EXCERPT_SHORTENED_SYMBOL", " […]");

    However my client doesn’t want the square brackets around it.

    I have managed to get the desired look by defining earlier (in my wp-config.php) but obviously that then gives me countless PHP Notice errors!

    Might it be something you consider to make the shortened symbol a variable that a user can change?

    Or is it possible to override that function with a filter?

    Any help would be appreciated! 🙂

    https://wordpress.org/plugins/wordpress-23-related-posts-plugin/

Viewing 5 replies - 1 through 5 (of 5 total)
  • PetraP

    (@petrap)

    Hey,

    thanks for reaching out – if I understand you correctly you just need three dots without the brackets?

    Looking forward to your reply,
    Petra

    Thread Starter fredbradley

    (@fredbradley)

    Correct! 🙂

    Hey,

    thanks for getting back to me and really sorry for such late reply. Actually if you just need those three dots all you have to change is
    define("WP_RP_EXCERPT_SHORTENED_SYMBOL", " […]");
    to
    define("WP_RP_EXCERPT_SHORTENED_SYMBOL", " ...");
    and save the changes. You can remove that space if you need to.

    Once again, sorry for the delayed response, hope this helps, take care and have a lovely day!

    Petra

    Thread Starter fredbradley

    (@fredbradley)

    This won’t help me if you update the plugin though will it? As your old definition will replace it again.

    I guess what I’m asking for is a change in the plugin that allows us to set (via settings api) what the ‘excerpt_shortened_symbol’ should be.

    Yes, with the upgrade it will get replaced, sorry. Unfortunately for the time being we will not implement this option into the plugin settings but who knows what will future bring.

    Take care,
    Petra

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change "WP_RP_EXCERPT_SHORTENED_SYMBOL"’ is closed to new replies.