Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rspatterson

    (@rspatterson)

    Update —

    Only solution I could come up with was to totally disable (comment out) the ‘for’ routine that created all buttons that would appear before/with my custom Share/Save link to the Sassy popup menu.

    See, chronlaw.com

    Thread Starter rspatterson

    (@rspatterson)

    Problem: “More” will not display unless at least one other share button is selected. What I am trying to solve is how to display “More” without displaying any other share buttons.

    Hope this clarifies my original post.

    Thanks. Great pluggin BTW … much better than Add2Any.

    Hopefully, you will find this suggestion helpful — it solves similar problems/questions raised in other posts, and adds an important addition to your plugin’s post template feature.

    One of my themes/plugins supports adding custom buttons to posts (which would require adding the “source url” to the post template), using code similar to this:

    <center>[button color=blue size=medium link={$source_url} icon=fa-external-link target=true]Click To Read Full Article @ The Source[/button]</center></div>

    Your post template {$permalink} variable will not work with this code, or with similar “href=” HTML code.

    My solution was to create a {$source_url} post template variable, by adding the following code (at line 46) to the “class-rss-pi-parser.php” file:

    $parsed_content = preg_replace('/\{\$source_url\}/i',  esc_url($item->get_permalink()) , $parsed_content);

    and adding the following (at line 53) to the “settings-table.php” file:

    <dt><code>{$source_url}</code></dt>

    This enhancement, solved my problem, and should be considered for a future release.

    BTW, it looks like a great plugin — I just started playing with it as a possible replacement for Autoblogged and other similar “bloated” plugins which are overly complex, slow and seem to choke when handling the large number of feeds processed on my WP ChronLaw.com website.

Viewing 3 replies - 1 through 3 (of 3 total)