Correction in code
-
Hi, I’ve just noticed one small error in code and here is a quick fix. If you try to add shortcode [fb_widget] to a page instead of just adding widget to a sidebar, the widget will not show. Problem is in file short_code.php.
On line 26 there is this line of code
wp_localize_script('myownscript', 'vars', $local_variables);Replace ‘vars’ with ‘milapfbwidgetvars’ and now it should work.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Correction in code’ is closed to new replies.