WordPress.org

Ideas

Allow ability to pass parameters when registering widgets

  1. FolioVision
    Member

    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

    0.6

    • First version released.

    0.6.1

    • keywords for categories fixed
    • editing link fixed

    0.6.3

    • no permalinks structure fixed

    0.6.4

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

    0.6.5

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

    0.6.6

    • flush rules removed
    • rewriting rule for pages fixed

    0.6.8

    • listing subcategories fixed

    0.6.9

    • pagination in backend fixed

    0.6.10

    • z-index fixed
    • rejecting links fixed

    0.6.11

    • proper shortcode support
    • fix for canonical links

    Configuration

    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é
    Member

    "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.

    Principe

    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.

    Dépendances

    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') ) {
        fil_ariane_menu($menu_correspondance_config); 
    }
    1. Configurez votre fichier style.css pour afficher uniquement les éléments de classe "unparent" :
    .menubreadcrumb span{
        display:none;   
    }
    .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{
        display:inline;
        font-weight:bold;
        }
    .menubreadcrumb span.current-menu-item a, 
    .menubreadcrumb span.current-page-item a, 
    .menubreadcrumb span.current-item a{
        text-decoration: none;
        color:black;
    }
    
    li.unparent{
        display:list-item!important;
    }
    li.unparent > a{
        /* color:orange!important; */
    }
    li.unparent > ul > li{
        display:list-item!important;
    }
    span.unparent {
        display:inline!important;
    }
    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.

    Features

    *  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
    

    Usage

    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.

    Customization

    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.

    Credits

    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.

    Contact

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

    Posted: 6 years ago #
  4. Jason Grim
    Member

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

    Background

    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

    Use

    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.

    1.0

    • 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.

    None.

    1.0

    • Initial release.

    1.1

    1.2

    1.3

    Fixed a typo. Add retweet_count.

    1.4

    Fixed glitch.

    1.5

    Added timezone

    1.6

    Tested with 3.4.2 wordpress.

    1.7

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

    1.8

    Tested with 3.5.1 wordpress. Fix minor code.

    1.9

    Miner change.

    1.9.1

    Documentation change.

    A brief Markdown Example

    N/A

    Posted: 5 years ago #
  6. xoogu
    Member

    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

Reply

You must log in to post.

  • Rating

    12345
    5 Votes
  • Status

    This idea is under consideration