Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Font Resize Plugin
Avatar
Justin Buehler
Member
Free Members
sp_UserOfflineSmall Offline
May 3, 2012 - 11:52 pm

Hello:

I installed the font resize plugin. It shows up above my forum. But when I click on the three "As," nothing happens. I've already put my font size to 100% in the CSS file, but I was hoping to get the fonts even bigger. Is that possible? Nevertheless, I can't make them smaller with the plugin. Why isn't the font resizer working? 

I'm also not able to delete the topics. I don't see an admin bar when I hover over the bubble. How do I fix this?

My forum is at http://www.oddhoursnews.com/forum/

Email me, and I'll give you log in info if need be.

Thank you.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 4, 2012 - 12:11 am

likely because your wp theme is misbehaving... its improperly loading jquery... its hard loading its version of jquery instead of the version that ships with wp... and its loading a quite ancient version of jquery to boot...

<script type='text/javascript' src='http://www.oddhoursnews.com/wp-content/themes/weekly/js/jquery-1.3.2.min.js?ver=1.3.2'></script>

more information here:  http://codex.simple-press.com/.....-conflict/

so find in your theme where its not following the wp api and we can help you load the proper jquery and prevent these conflicts...

Avatar
Justin Buehler
Member
Free Members
sp_UserOfflineSmall Offline
May 10, 2012 - 11:21 am

Hi Mr. Papa,

I went ahead and added jquery-1.7.2.min.js to my theme.

First, I made the change in the functions.php file and then made the change in my theme's js folder.

Unfortunately, I'm not seeing the admin bar when I hover over the bubble. Also, I can't select the "As" to change the font size, they only change color.

What should I do next to fix this problem?

Site: http://www.oddhoursnews.com/forum/

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 10, 2012 - 10:32 pm

cant really see much since your page is blocked to non members...

but you are loading jquery from the theme instead of wp:

<script type='text/javascript' src='http://www.oddhoursnews.com/wp-content/themes/weekly/js/jquery-1.7.2.min.js?ver=1.7.2'></script>

just replace that whole mess with

<?php wp_enqueue_script('jquery'); ?>

so it loads wp version instead...

Avatar
Justin Buehler
Member
Free Members
sp_UserOfflineSmall Offline
May 11, 2012 - 9:52 pm

Where do I remove:

 

<script type='text/javascript' src='http://www.oddhoursnews.com/wp-content/themes/weekly/js/jquery-1.7.2.min.js?ver=1.7.2'></script>

and replace it with:

<?php wp_enqueue_script('jquery'); ?>

 

I'm not sure where to look to make the change. Sorry.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 11, 2012 - 10:01 pm

I went ahead and added jquery-1.7.2.min.js to my theme.

thats what you said...  so where did you add it???

normally, you can find the loading in the theme head.php or functions.php file... but you should be able to search the theme files...

Avatar
Justin Buehler
Member
Free Members
sp_UserOfflineSmall Offline
May 16, 2012 - 11:39 pm

I looked in my functions.php file, and this is what I found:

 

}

 

function my_deregister_scripts() {

wp_deregister_script( 'jquery' );

 

// wp_enqueue_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js', false, '1.3.2');

 

wp_enqueue_script('jquery', get_bloginfo('template_url').'/js/jquery-1.7.2.min.js', false, '1.7.2');

wp_enqueue_script('jquery-cookie', get_bloginfo('template_url').'/js/jcookie.js', true, '0.1');

wp_enqueue_script('jquery-carousel', get_bloginfo('template_url').'/js/jcarousellite.js', true, '1.0.1');

wp_enqueue_script('jquery-superfish', get_bloginfo('template_url').'/js/superfish.js', true, '1.0');

wp_enqueue_script('jquery-global', get_bloginfo('template_url').'/js/global.js', true, '1.0');

wp_enqueue_script('loopedslider', get_bloginfo('template_url').'/js/loopedslider.js', true, '0.5.6');

wp_enqueue_script('scrolltopcontrol', get_bloginfo('template_url').'/js/scrolltopcontrol.js', true, '1.1');

 

if ( is_singular() && get_option('thread_comments') ) wp_enqueue_script( 'comment-reply' );

}

 

I replaced the bold line with <?php wp_enqueue_script('jquery'); ?> and it gave me a syntax error. Obviously, I'm not doing something right. Can you walk me through what I need to change?

Thanks for your patience.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 17, 2012 - 4:07 am

Try replacing that function with this one:

function my_deregister_scripts() {
    wp_enqueue_script('jquery');
    wp_enqueue_script('jquery-cookie', get_bloginfo('template_url').'/js/jcookie.js', true, '0.1');
    wp_enqueue_script('jquery-carousel', get_bloginfo('template_url').'/js/jcarousellite.js', true, '1.0.1');
    wp_enqueue_script('jquery-superfish', get_bloginfo('template_url').'/js/superfish.js', true, '1.0');
    wp_enqueue_script('jquery-global', get_bloginfo('template_url').'/js/global.js', true, '1.0');
    wp_enqueue_script('loopedslider', get_bloginfo('template_url').'/js/loopedslider.js', true, '0.5.6');
    wp_enqueue_script('scrolltopcontrol', get_bloginfo('template_url').'/js/scrolltopcontrol.js', true, '1.1');

    if ( is_singular() && get_option('thread_comments') ) wp_enqueue_script( 'comment-reply' );
}

See if that resolves it.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Justin Buehler
Member
Free Members
sp_UserOfflineSmall Offline
May 17, 2012 - 11:54 pm

No, unfortunately the code didn't work. I still couldn't get anything to appear when I hover over the blue bubbles on posts. I also can't seem to add a topic, or use the font resizer As at the top. The code also made my slider disappear on the home page. What else can we try?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 18, 2012 - 5:08 am

When you changed that code to my offered code did you also remove the changes you had made previously where you added jQuery loading to your theme?

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625