Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Allpa. If you’r running the theme version from the wp.org it doesn’t include shortcodes.

    Thread Starter Allpa

    (@allpa)

    No, I downloaded template from the www.ads-software.com. But the problem with short-codes is not a problem — I registered the necessary styles in .css and using HTML codes.

    Can you post a link to your site and point out which shortcodes are not working?

    Thread Starter Allpa

    (@allpa)

    I registered the necessary styles in .css

    Can you post what you have in your css related to shortcodes?

    Thread Starter Allpa

    (@allpa)

    I simply use HTML code in records. For example, for dropcap:
    <span class="dropcap"> </span>
    And for quotes:

    <span class="pullquote-left"> </span>
    <span class="pullquote-right"> </span>

    But if I try to use short-codes, but not html, it doesn’t work for some reason.
    I disconnected all plug-ins just in case and checked — all the same doesn’t work.

    WordPress core includes six basic shortcodes. Other than that you need to either use a plug-in like Shortcodes Ultimate or add the individual shortcode functions to a child theme functions.php file. The shortcodes used in the theme version avaliable on the theme website can be found in the /functions/shortcodes.php file on Github. You could copy whichever of those you want to use to your child theme functions.php file. You’d probably also want to get the related css for the shortcodes at the bottom of the theme style.css file on Github. Then you use the shortcodes within the post/page content:

    [dropcap]T[/dropcap]his is a test.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Shortcodes are not working’ is closed to new replies.