Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] Using Utech World Time Plugin (http://forum.bytesforall.com/showthread.php?t=13012)

jykbfa Feb 26, 2011 06:10 AM

[SOLVED] Using Utech World Time Plugin
 
Hi,

I'd like to use the Utech World Time Plugin on my blog.

The problem is, I don't know how to install it.

The installation guide says I only need to insert the following:
Quote:

[worldtime places="Paris"]
However, I don't know where to insert it in the Atahaulpa theme.

I tried creating a new text/HTML widget and inserting the code, but that only displayed the code on my blog and not the clock.

Which theme file do I need to edit and where do I need to insert this code?
I'd like the clock to be in the right sidebar, above my other widgets.

Thanks for your time.

kingmob Feb 26, 2011 06:40 AM

OPEN
Code:

atahualpa\functions.php
FIND
Code:

// Load translation file
ADD BEFORE
Code:

add_filter( 'widget_text', 'shortcode_unautop');
add_filter( 'widget_text', 'do_shortcode');

And you can use any shortcode in a widget now ;)

Source

jykbfa Feb 26, 2011 06:47 AM

Thank you so much. It works perfectly, now.

kingmob Feb 26, 2011 06:55 AM

Quote:

Originally Posted by jykbfa (Post 59072)
Thank you so much. It works perfectly, now.

But remember... Every time you update atahualpa you must make the same changes in functions.php ;)


All times are GMT -6. The time now is 08:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.