Title: customising widget
Last modified: August 20, 2016

---

# customising widget

 *  [mrcavallo](https://wordpress.org/support/users/mrcavallo/)
 * (@mrcavallo)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/customising-widget/)
 * 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/](http://wordpress.org/extend/plugins/simpul-facebook-by-esotech/)

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

 *  [Sound View](https://wordpress.org/support/users/lkkuhn/)
 * (@lkkuhn)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/customising-widget/#post-3423683)
 * 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/](http://www.ilivewhereiam.com/travel-destinations/)
 *  [AndriaL](https://wordpress.org/support/users/andrial/)
 * (@andrial)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/customising-widget/#post-3423698)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/simpul-facebook-by-esotech.svg)
 * [Simpul Facebook by Esotech](https://wordpress.org/plugins/simpul-facebook-by-esotech/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simpul-facebook-by-esotech/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simpul-facebook-by-esotech/)
 * [Active Topics](https://wordpress.org/support/plugin/simpul-facebook-by-esotech/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simpul-facebook-by-esotech/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simpul-facebook-by-esotech/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [AndriaL](https://wordpress.org/support/users/andrial/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/customising-widget/#post-3423698)
 * Status: not resolved