Monthly archives of “March 2015

comment 0

add_shortcode not working

Heyho !

Today I change my site themes and upgrade the system ( currently I am using wordpress ) to latest version. While I migrating to the latest wordpress version (4.1.1) I had a little probelm on my shortcode function. the add_shortcode isn’t working. Then I check on wordpres codex ( https://codex.wordpress.org/Function_Reference/add_shortcode ), there’s no new update on this pages. So, I tried to register my add_shortcode function to init.
here is the old code