• Resolved smb1970

    (@smb1970)


    Hi,
    I’ve just finished building a website for my wife’s business where I used the Magnificent Elegant theme.

    It has shortcodes in it for creating testimonials, which I used.

    I have subsequently installed Jet Pack and set up the mobile theme. Obviously the short codes no longer work.

    How do I go about using the shortcodes from my main theme with the mobile theme. I’ve tracked the shortcode down to a file shortcodes.php in
    wp-content/themes/Magnificent/epanel/shortcodes

    I would then expect to see this file referenced in another php file in the theme somewhere to tell it to use it but I don’t. Nor can I find any reference to the shortcode [testimonial] in any of the other php files for the theme so I’m a little stuck in figuring out how to implement this short code in the minileven theme. Any suggestions would be gratefully appreciated.

    Best regards Steve

Viewing 2 replies - 1 through 2 (of 2 total)
  • you will need to find where the shortcode code is defined – which you seem to have done – and copy it and paste it into functions.php of your new theme; plus any possible associated styles, etc.

    ref: https://codex.www.ads-software.com/Shortcode_API

    unfortunately, as you are referring to a commercial theme, this forum here cannot help you any further.

    Thread Starter smb1970

    (@smb1970)

    That’s all I needed, problem solved.
    Thanks!
    Best regards Steve

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I use the shortcodes from one theme in another theme’ is closed to new replies.