sweetrobot
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Search Light] Ajax /JS ErrorI have the same issue, – wordpress login page- it appears the script also runs when in admin… !is_admin perhaps?
Forum: Plugins
In reply to: Script to run on Category Page Onlyno.. haven’t given it a solid try yet. distracted with other things, but would still love to know.
Forum: Plugins
In reply to: [WP-PageNavi] wp-pagenavi missing on category pagesthere is no category.php.. i did look, attempting to figure out what template file lays out the category pages, but am unsure..
pic of the template root if any use – https://i56.tinypic.com/2rpwnk7.jpg
please let me know if you have any ideas… for example, if i coudl search for any sting which will help me identify which file i should be working with to add the navi to.
thanks.
Forum: Plugins
In reply to: [Firelight Lightbox] Using Easy FancyBox to open iFrame from the Main MenuAwesome! This is JUST what I was looking for!
Thank you so very much!
Forum: Plugins
In reply to: Script to run on Category Page OnlyThanks for the more in-depth response. Will see what I can do.
For one, I was was definitely including the code in the wrong place to begin with, which was not mentioned in the link you provided.
Will report back..
Forum: Plugins
In reply to: Script to run on Category Page Onlyjust re-read. Could you point out what I’m missing? Thanks!
Forum: Plugins
In reply to: Script to run on Category Page OnlyYes, not sure if you saw my latest response..
Forum: Plugins
In reply to: Script to run on Category Page OnlyI noticed the following error with firebug:
$.backstretch is not a function
backstretch is the script which scales the background.
Now, not sure how to fix it! I do not get this error on any other page..
Forum: Plugins
In reply to: Script to run on Category Page OnlyStill no dice with wp_enqueue_script..
Forum: Plugins
In reply to: Script to run on Category Page OnlyLike so?
<?php if ( is_front_page() ) echo wp_enqueue_script('<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="wp-content/custom/jquery.backstretch.min.top.js"></script> <script type="text/javascript">$.backstretch("wp-content/themes/photoshot/images/home_bg.jpg", {speed: 1000});</script>'); elseif (is_category('news')) echo wp_enqueue_script('<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="wp-content/custom/jquery.backstretch.min.top.js"></script> <script type="text/javascript">$.backstretch("wp-content/themes/photoshot/images/about_bg.jpg", {speed: 1000});</script>'); ?>
Forum: Hacks
In reply to: Script to run on Front Page onlythanks. i had it. need to do same for category page, but didn’t work..
Forum: Hacks
In reply to: Script to run on Front Page onlyanyone ? ??