Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7438407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:33:01+00:00 2026-05-29T10:33:01+00:00

This is regarding the following jQuery plugin: http://blog.danawoodman.com/jquery-showhide/ I am using jQuery show hide

  • 0

This is regarding the following jQuery plugin:
http://blog.danawoodman.com/jquery-showhide/

I am using jQuery show hide plugin on my wordpress site. But running into issues with same.
The following code on a simple HTML file works fine for me:

<!DOCTYPE html>
<html>
    <head>
        <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js?ver=3.3.1'></script>
        <script type="text/javascript" src="jquery.cookie.js"></script>
        <script type="text/javascript" src="jquery.showhide.min.js"></script>
        <script type="text/javascript">
            $(function() {
                $('#ex-6').showhide({
                    use_cookie: true,
                    cookie_name: 'example_6'
                });   
            });

        </script>
    </head>
    <body>
           <p>
               <a href="#" title="Toggle the span" id="ex-6">off</a>
                  <span>ABC</span>
           </p>
    </body>

</html>

To make above work with wordpress, I do the following:

1) Edit Header.php file of wordpress and add the following lines in section

 <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js?ver=3.3.1'></script>
    <script type="text/javascript" src="/wp-content/themes/mystique/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="/wp-content/themes/mystique/js/jquery.showhide.min.js"></script>
    <script type="text/javascript">
        $(function() {
            $('#ex-6').showhide({
                use_cookie: true,
                cookie_name: 'example_6'
            });   
        });

    </script>

2) Create a sidebar widget and add the following code:

<p>
    <a href="#" title="Toggle the span" id="ex-6">off</a>
    <span>ABC</span>
</p>

Note the path where I have uploaded the required javascript libraries

I tried disabling all plugins but still no effect.

The above doesn’t work on the blog. You can check the same on:
http://extreme-java.com/check-java-iq/

Could you please suggest where did I make a mistake.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:33:02+00:00Added an answer on May 29, 2026 at 10:33 am

    By looking your source code, it seems that you want “jquery tabs functionality” on wordpress page

    why don’t you try wordpress tabs plugin see 3rd screen-shpt

    and in addition,if you want this page as sidebar, you can use pages/post as sidebar plugin.

    i think this is better options to achieve this functionality

    hope it will help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm following this tutorial here: http://brenelz.com/blog/implementing-paging-using-php-and-jquery/ Here is what I have: http://eataustineat.com/testingfolder/ I've encountered
I'm currently using this jQuery Cycle Plugin: http://jquery.malsup.com/cycle/ And I have the following code:
I'm following the tutorial here: http://docs.jquery.com/Plugins/Authoring I just wanted to create a simple plugin
H Regarding this URL http://www.codeproject.com/KB/aspnet/FlashUpload.aspx User.Identity as System.Web.Security.FormsIdentity is always null, because the Identity
Specifically this is regarding when using a client session cookie to identify a session
Yesterday I posted this question regarding using lambdas inside of a Join() method to
I am using Jquery form plugin to upload file in Ajax request.File is successfully
I am using Jquery form plugin to upload file in Ajax request.File is successfully
I'm having trouble reading this xml with jQuery. http://jsfiddle.net/VLtqY/2/ XML: <myElements type=AA coID=A923> <element1>01</element1>
I've got a question regarding jQuery, I want to remove the following from the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.