• hello,

    i really like this widget, however am wondering if it is possible for me to modify a couple of things:

    1. linking the actual widget title to the facebook profile
    2. removing paragraph breaks – ie – so the ‘read more’ link appears directly after the article.

    ive looked through the .php file but simply cannot work out how to make these changes.

    thanks very much.

    http://wordpress.org/extend/plugins/simpul-facebook-by-esotech/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks so much for this plugin. It is great.

    I was going to request a change, but I believe I figured it out myself. I tested the code on my site (and it didn’t blow up, so I think this might work for others.)

    IF YOU WANT YOUR “Facebook Post Link Text” TO OPEN IN A NEW WINDOW (so that you don’t send people away from your site) go to wp-content/plugins/simpul-facebook-by-esotech/simpulfacebook.php

    ‘Save as’ to create a backup to revert to if necessary.

    For plugin Version: 2.2.6, Go to line 469 where it says:

    self::createElement('a', array('class' => 'simpul-facebook-post-link', 'href' => $entry->alternate),

    and replace with this:

    self::createElement('a', array('target' => '_blank', 'class' => 'simpul-facebook-post-link', 'href' => $entry->alternate),

    ALSO REPLACE LINE 474 THAT SAYS:

    self::createElement('a', array('class' => 'simpul-facebook-post-link', 'href' => $entry->alternate),

    And replace with:

    self::createElement('a', array('target' => '_blank', 'class' => 'simpul-facebook-post-link', 'href' => $entry->alternate),

    you are just telling it to open the link in a blank (new) window. Hope this helps someone.

    Great plugin!! Thanks so much!!

    I’m using this and your Youtube plugin on http://www.ilivewhereiam.com/travel-destinations/

    Hello, thank you for the plugin! I am having difficulty with the options. Specifically, I am trying to show external links and ‘Link Anchor Text to External Links / Facebook Post:’. But when I click the ‘External Link’ nothing happens. It remains ‘Off’. Am I missing something?
    Thanks again.

    Nevermind – apparently although I didn’t see the radio button switch, it did. Everything is working now. Thank you for the easy plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘customising widget’ is closed to new replies.