• I have added shortcode buttons to the WordPress tinyMCE text editor using the WordPress quicktags function.

    This works fine when in functions.php, however I need it to be in an external functions file which I am including in functions.php. For some reason it does not work in my external functions file.

    The external function file definitely works, since other functions work fine within it.

    I have also removed all code from the external file except the quicktags function to see if there is a conflict but it still does not work.

    Any ideas on how i can get this to work?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Would have to see your code.
    You can use pastebin.

    How are you including the other functions.php file?

    Thread Starter Leash22

    (@leash22)

    Do you need the whole functions.php file or just the external functions? – let me know i’ll pastebin it.

    I’m adding it in using include_once(‘stFunctions.php’); at the top of functions.php

    Thread Starter Leash22

    (@leash22)

    I’ve tried placing it at the bottom with no joy

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Quicktags external functions file’ is closed to new replies.