Forums

[resolved] [Plugin: Page Links To] make page-links-to compatible with qtranslate (1 post)

  1. donaldbaud
    Member
    Posted 2 months ago #

    Here is a small modification to make the plugin compatible with qtranslate.
    You can now enter a url like:
    http://www.example.[:en]com[:fr]fr

    In the file: page-links-to.php
    change:

    if ( $page_links_to_cache[$id] )
                    $link = $page_links_to_cache[$id];
    
            return $link;

    to this:

    if ( $page_links_to_cache[$id] )
                    $link = $page_links_to_cache[$id];
    
            return __("$link");

    http://wordpress.org/extend/plugins/page-links-to/

Reply

You must log in to post.

About this Topic