Allow ability to pass parameters when registering widgets

  1. FolioVision

    FV WP Link Robot is an advanced Link Directory managment system with backlink checking and SEO status information about your partners' sites.

    It's based on the original WordPress Link Directory plugin by Alec Tang. So are there any reasons why you should use our improved version?

    • Support for redirects - great in situation, when your link partner moves his link directory to some other URL.
    • SEO information about you link partner's site included (PR, number of cached pages, Alexa rating, ...). Refresh this information with just a single click.
    • Improved backlink searching algorithm.
    • Don't delete your links, just move it the trash and you can always recycle it!
    • Improved user interface - no popups used.
    • Source was redone from scratch according to highest WordPress standards.

    Download now!

    Support | Installation | Usage |

    There aren't any special requirements for FV WP Link Robot to work, and you don't need to install any additional plugins.

    1. Download and unpack zip archive containing the plugin.
    2. Upload the wp-link-robot directory into wp-content/plugins/ directory of your wordpress installation.
    3. Go into WordPress plugins setup in WordPress administration interface and activate FV WP Link Robot plugin.
    4. Go into WordPress Tools menu, open Link Robot, and configure your site details in the Settings tab.
    5. To show the list of links sorted in categories, just place the shortcode [wp_link_robot_genlinks] into the page where you wish the list of links to appear, type the page slug in the settings tab under Main directory options. Then go to Settings -> Permalinks and click "Save Changes".
    6. Also if you want to allow your visitors to submit their links, just place shortcode [wp_link_robot_addlinks] in the page and a form for link submission will be placed there.

    I created a categories, added links, placed the code into the page but my links are still not showig up.

    Please check if you set correctly the 'Directory slug name' in the setting tab. If you're using default permalink structure it should be left blank, but if other option is used, you should write the page slug here.

    After installing and activating the pugin I get an error saying: The plugin does not have a valid header.

    We know about this issue and we are working on it. However this does not affect the functionality of the plugin. Just go to your plugins section and activate the plugin there.

    1. wp-link-robot screenshot 1

      Link management screen

    2. wp-link-robot screenshot 2

      Links can be organized into catgerories and subcategories

    3. wp-link-robot screenshot 3

      Adding new links


    • First version released.


    • keywords for categories fixed
    • editing link fixed


    • no permalinks structure fixed


    • 'back' link fixed
    • directories with subdirectories are now showing up


    • 'back' link fixed for no permalinks
    • subdirectories fixed


    • flush rules removed
    • rewriting rule for pages fixed


    • listing subcategories fixed


    • pagination in backend fixed


    • z-index fixed
    • rejecting links fixed


    • proper shortcode support
    • fix for canonical links


    Once the plugin is uploaded and activated, there will be a submenu of tools menu called Link robot. In that submenu, you can manage your links and configure settings. The only information you need to fill is: * My reciprocal url is the url that appears in your partners directories, e.g. "http://www.example.com" * Directory's name - name of your directory where the your partners links will be displayed * Directory slug name - once you create a page where the links will be displayed, type here the slug name

    All other options are preconfigured, feel free to change them as you wish, or leave them in the default mode.

    Posted: 6 years ago #
  2. Thomas Fauré

    "Fil d'Ariane pour Menu" permet d'afficher un fil d'ariane correspondant à la navigation sur un site utilisant un &quo

    "Fil d'Ariane pour Menu" permet d'afficher un fil d'ariane correspondant à la navigation en cours sur un site utilisant un "Menu" personnalisé ("menu" au sens WorPress, pouvant contenir liens, catégories, pages).

    Ce plugin fonctionne avec un site contenant jusqu'à 3 menus différents (pour un site en trois grandes parties par exemple).

    Le principe est de définir une catégorie du même nom que le menu, pour chaque menu. Puis de rattacher les catégories affichées dans un menu à cette catégorie mère.

    L'interface du plugin permet de faire le lien explicite entre les menus et les "catégories mères" créées.

    Chaque menu doit également être rattaché à une page mère, qui est en quelque sorte, la page portail du menu.


    Le plugin affiche en fait le menu lui-même, en le transformant : en remplaçant les balises ul et li (listes) en span, et en déterminant pour chaque élément s'il est un parent de la page ou de l'article en cours (ajout de la classe "unparent").

    L'affichage ou non se gère ensuite dans votre fichier CSS.


    Vous pouvez installer le plugin "yoast_fil_ariane" pour une meilleure couverture de votre site, puisque par défaut, lorsque le plugin ne parvient pas à déterminer le fil d'ariane, il affiche celui de yoast_fil_ariane.

    1. Téléchargez fil_ariane_menu.php vers le répertoire /wp-content/plugins/fil_ariane_menu/
    2. Activez l'extension à travers le menu "Extensions" dans WordPress
    3. Configurez les correspondances entre menus, catégories et pages dans le menu d'administration du plugin ("Fil d'Ariane Menu" : dans le cadre "Réglages" de la colonne de gauche)
    4. Insérez les lignes suivantes dans votre template :
    if ( function_exists('fil_ariane_menu') ) {
    1. Configurez votre fichier style.css pour afficher uniquement les éléments de classe "unparent" :
    .menubreadcrumb span{
    .menubreadcrumb span.current-menu-ancestor, 
    .menubreadcrumb span.current-menu-item, 
    .menubreadcrumb span.current-page-item, 
    .menubreadcrumb span.current-category-ancestor, 
    .menubreadcrumb span.current-post-ancestor, 
    .menubreadcrumb span.current-menu-parent, 
    .menubreadcrumb span.current-post-parent, 
    .menubreadcrumb span.current-item{
    .menubreadcrumb span.current-menu-item a, 
    .menubreadcrumb span.current-page-item a, 
    .menubreadcrumb span.current-item a{
        text-decoration: none;
    li.unparent > a{
        /* color:orange!important; */
    li.unparent > ul > li{
    span.unparent {
    span.unparent > a{
        /* color:orange!important; */
    Posted: 6 years ago #
  3. IBD Twitter displays yours latest tweets in your WordPress blog.

    IBD Twitter displays yours latest tweets in your WordPress blog.


    *  Simply
    *  Customizable
    *  Widget support
    *  No options page (yes, its a feature)
    *  Uses WordPress resources (no extra files needed)
    *  Detects URLs, e-mail address and @username replies


    If you use WordPress widgets, just drag the widget into your sidebar and configure. If widgets are not your thing, use the following code to display your public Twitter messages:

    <?php twitter_messages("username"); ?>

    For more info (options, customization, etc.) visit the plugin homepage.


    The plug in provides the following CSS classes:

    * ul.twitter: the main ul (if list is activated)
    * li.twitter-item: the ul items (if list is activated)
    * p.twitter-message: each one of the paragraphs (if msgs > 1)
    * .twitter-timestamp: the timestamp span class
    * a.twitter-link: the tweet link class
    * a.twitter-user: the @username reply link class

    Drop ibd-twitter folder (or even twitter.php) into /wp-content/plugins/ and activate the plug in the WordPress admin area.


    Rick - This plugin is based on Twitter for WordPress with some minor tweaks like not displaying a timestamp, but instead showing time passed since posted like twitter does on its site.


    Send suggestion, fixes, rants, congratulations, gifts etc. all to contact[at]ibrightdev.com

    Posted: 6 years ago #
  4. Jason Grim

    Uses bit.ly, Ur.ly, and Is.gd to create handy shortlinks to share your WordPress Posts quickly and easily!


    WordPress has created the wonderful functionality of generating shortlinks for post on your blogs. With advanced permalink structures a single link to your site can take up 89% of a short email or a facebok update. However, Wordpress created a very ugly system, the shortlink system simply provides the default permalink structure with ugly url variables.

    Here is the documentation on adding shortlinks to your themes on the WordPress Codex


    Some themes use the template method to share the short url of your post. The use of this plugin would convert all of those links to trackable ones with bit.ly or shorter ones with the other services.

    Also, when you create a new post a button is created next the the URL of your new post. If you click the "Get Shortlink" button a popup will provide a simple little link to share with all of your friends and fans.

    1. Upload to the /wp-content/plugins/ directory
    2. Activate the plugin through the 'Plugins' menu in WordPress
    3. A new menu item under 'Settings' is added, it is titled 'Shortlinks'.

    I do not see the "Get Shortlink" within my new post editor?

    Make sure you have pretty permalinks enabled in Settings->Permalinks

    Bit.ly is failing?

    Sign up for a bit.ly account at http://bit.ly.


    • Plugin Released.
    Posted: 6 years ago #
  5. EasyTwitter provides an easy way to add twitter followers count and other twitter info to your wordpress template.

    EasyTwitter provides an easy way to add your twitter information to your wordpress blog.

    Here are some features: * Show Profile timezone.
    * Show Twitter Follower Count.
    * Show Twitter Friends Count.
    * Show Twitter profile picture.
    * Show Twitter location.
    * Show Twitter description.
    * Show you recent twitter status message.
    * Show Twitter name and profile name.
    * Show Twitter profile url.
    * Show retweet count!.

    Developed by: The Jim Burnett.

    1. Upload easytwitter.php to the /wp-content/plugins/ directory
    2. Activate the plugin through the 'Plugins' menu in WordPress
    3. Use the follow example code to add your twitter information to yourtemplate:

    Step 1:
    $et = new EasyTwitter("twitterusername");//place this at the top of your template.

    Step 2:
    echo $et->followers_count(); // Your twitter followers.
    echo $et->profile_image_url();//This returns your profile image URL with no html markup.
    echo $et->location(); //This will show your location field. e.g. "Virginia".
    echo $et->status_text(); //Your most recent twitter status text.
    echo $et->profile_image_url();//URL to your twitter profile picture.

    Note: No methods will return any data with html markup.

    Is there caching availible?

    Any wordpress cache plugin will cache this information. This is not javascript based so it will be cached like any other PHP plugin or script.



    • Initial release.




    Fixed a typo. Add retweet_count.


    Fixed glitch.


    Added timezone


    Tested with 3.4.2 wordpress.


    Tested with 3.5.x wordpress. Fix documentation. Updated documentation.


    Tested with 3.5.1 wordpress. Fix minor code.


    Miner change.


    Documentation change.

    A brief Markdown Example


    Posted: 5 years ago #
  6. xoogu

    I agree adding the ability to pass constructor parameters would be useful. At the moment you need to use the hack Tien Nguyen used if you want to pass parameters to the widget.

    Another option could be to have a do_action in your widget constructor, to which you pass the widget instance. That would then allow you to register a callback for the action where you could inject the parameters into the object. But that would be even messier than Tien's solution IMO.

    Posted: 10 months ago #

RSS feed for this topic


You must log in to post.

  • Rating

    5 Votes
  • Status

    This idea is under consideration