Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter nephanor

    (@nephanor)

    That works GREAT! Thanks! Tested with both the # and without and still picked it up no problem!

    Thread Starter nephanor

    (@nephanor)

    Yup, that looks exactly like what I was thinking even down to the algorithm! If I knew my way around the inside of WP plugins, I’d probably code it in myself, but I am still learning the ins and outs. Thanks!

    Thread Starter nephanor

    (@nephanor)

    Yup, And that’s easy enough to do in regular page making (I generally make pages in HTML, just use the shortcodes for links and pictures), it’s the adding the anchor to the Wiki link that is the issue, and which is why adding it to the plugin would be necessary. Something like this:

    [yadawiki link=”Cities in France” anchor=”Paris” show=”Paris”]

    Would yield the HTML:

    <a href="https://YourSite.com/wiki/CitiesInFrance/#Paris" class="wikilink-published">Paris</a>

    • This reply was modified 3 years, 8 months ago by nephanor.
    • This reply was modified 3 years, 8 months ago by nephanor.
    Thread Starter nephanor

    (@nephanor)

    What about adding a new tag to the short code? link=”main page” anchor=”anchor”, then it just adds the #anchor to the end of the URL. Also be cool to add a class=”custom_class” addition. That way people can customize the class of the links, should they want. Another idea I had that I was gonna suggest in another thread.

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