Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter neverwinter

    (@neverwinter)

    So installed plugins:
    Column Shortcodes
    Mammoth .docx converter
    TablePress
    Yada Wiki

    The functions are different for index and show toc, one is using get_post_permalink, the other get_page_link.

    I’ve changed line 123 from:

    			$cat_output = $cat_output . '<li><a href="'.get_page_link($item->ID).'">'.$item->post_title.'</a></li>';
    

    to:

    			$cat_output = $cat_output . '<li><a href="'.get_post_permalink($item->ID).'">'.$item->post_title.'</a></li>';
    

    This seems to work, gonna do a little more testing.

    Thread Starter neverwinter

    (@neverwinter)

    Thanks for the tip about Better Search and Replace, it would’ve made things a lot easier! However it found no further replacements. I also find it odd that it isn’t working.

    I am using the name permalinks and have created a new category and page… Lets say page4. The permalink on the edit page is correct and the page is there when I click on it:
    http://SERVERNAME/wordpress/wiki/page4/

    However the shortcode link from:
    [yadawikitoc show_toc=”true” category=”page4″ order=”title”]
    is showing as:
    http://SERVERNAME/wordpress/page4/

    If however, I do:
    [yadawiki-index type=”pages” columns=”3″]
    The link is correct.

    Thanks.

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