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 8044317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:11:24+00:00 2026-06-05T05:11:24+00:00

how to connect jquery in wordpress, the scripts connected and in the administrator a

  • 0

how to connect jquery in wordpress, the scripts connected and in the administrator a panel, and on page wordpress
php
wp_deregister_script(‘jquery’);
wp_register_script(‘jquery’, (“http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js”),
false);
wp_enqueue_script(‘jquery’);

 function admintuts_scripts_with_jquery1(){
 wp_deregister_script('jquery');
 wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"),   
  false);
 wp_enqueue_script('jquery');
}
add_action( 'admin_enqueue_scripts', 'admintuts_scripts_with_jquery1' );
add_action( 'admin_enqueue_scripts', wp_enqueue_script ("JQuery") );


function admintuts_scripts_with_jquery(){
wp_register_script( 'vote', plugins_url( '/js/vote.js', __FILE__ ), array( 'jquery' ) );
wp_register_script( 'vote', get_template_directory_uri() . '/js/vote.js', array( 'jquery' ) );
wp_enqueue_script( 'vote' );
}
add_action( 'admin_enqueue_scripts', 'admintuts_scripts_with_jquery' );

function wptuts_scripts_with_jquery(){
wp_register_script( 'formtest', plugins_url( '/www/js/formtest.js', __FILE__ ), array( 'jquery' ) );
    wp_register_script( 'formtest', get_template_directory_uri() . '/www/js/formtest.js', array( 'jquery' ) );
wp_enqueue_script( 'formtest' );
}
add_action( 'wp_enqueue_scripts', 'wptuts_scripts_with_jquery' );

/* echo "
<script type=\"text/javascript\" src=\"../wp-content/plugins/votefe/js/jquery.js\"></script>"; */

if to whom it will be interesting, here is how I solved a problem

php

function wptuts_scripts_with_jquery(){
  wp_deregister_script('jquery');
  wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"),   false);
  wp_enqueue_script('jquery');

  wp_register_script( 'formtest', plugins_url( '/www/js/formtest.js', __FILE__ ), array( 'jquery' ) );
  wp_register_script( 'formtest', get_template_directory_uri() . '/www/js/formtest.js', array( 'jquery' ) );
  wp_enqueue_script( 'formtest' );
}
add_action( 'wp_enqueue_scripts', 'wptuts_scripts_with_jquery' );


function votefe_load_style_css()
{   
  /*jquery for admin panel*/
  wp_deregister_script('jquery');
  wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false);
  wp_enqueue_script('jquery');
  if to whom it will be interesting, here is how I solved a problem


  /*js-script for admin panel*/
  wp_register_script( 'vote', plugins_url( '/js/vote.js', __FILE__ ), array( 'jquery' ) );      
  wp_register_script( 'vote', get_template_directory_uri() . '/js/vote.js', array( 'jquery' ) );    
  wp_enqueue_script( 'vote' );

  /*css-style for admin panel*/
  wp_register_style( 'styleforvote', plugins_url( '/css/styleforvote.css', __FILE__ ), array(), 'all' );
  wp_register_style( 'styleforvote', get_template_directory_uri() . '/css/styleforvote.css', array(), 'all' );
  wp_enqueue_style( 'styleforvote' );
}
add_action( 'admin_enqueue_scripts', 'votefe_load_style_css' );
  • 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-06-05T05:11:26+00:00Added an answer on June 5, 2026 at 5:11 am

    Mmmm

    <script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' type='text/javascript'>
    

    Before the header no? I always used this

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

Sidebar

Related Questions

I have a jquery script as below: $.ajax({ type: GET, url: http://www.site.com/v4/ajax/get_song_info.php, data: ({id
I am using a jQuery AJAX request to a page called like.php that connects
I Use jQuery Sticky Notes Plugin http://www.jquery-sticky-notes.com/ I Connect it with database using asp.net
I'm using jQuery.ajax() to connect to my back end service. I have configured an
I'm using Jquery, Ajax and PHP to try and send a variable to be
I am using ajax to connect to a PHP script and then retrieve the
hello i am stuck with jquery tablesorter: http://tablesorter.com/docs/index.html#Examples and would be grateful if some
What is the Dojo equivalent to jQuery .live()? http://api.jquery.com/live/ The only solution I found
I am very new to ajax and jquery but I know some php. I
I am using jQuery plugin called jsPlumb - http://jsplumb.org/jquery/demo.html and I want to connect

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.