A
A
arkanum2013-12-11 14:31:06
WordPress
arkanum, 2013-12-11 14:31:06

Why don't shortcodes work in WP 3.7.1?

No matter what I did, the shortcode is not accepted by my template. The basis of the site is the twentyeleven template.
I insert the shortcode in the html editor, refresh the page and nothing happens. Code - text.
Is it not working somewhere in the template? All latest version.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
Timur Kalimullin, 2013-12-16
@arkanum

To see all active shortcodes, you can use the code:

<?php
global $shortcode_tags;
echo "<pre>";
print_r($shortcode_tags);
echo "</pre>";
?>

this way you will at least know if your shortcode is registered or not.

N
Nikolai Antal, 2013-12-11
@hermit931

Apparently there is an error somewhere :) Is the
function even called? Maybe you made a mistake somewhere? Activate the WP_DEBUG option, maybe the notifications will say something

A
arkanum, 2013-12-12
@arkanum

debug didn't show anything.
and I thought to activate shortcodes it is enough to install a plugin :) isn't it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question