Sie sind nicht angemeldet.

  • [Hilfe: CMS & Scripts] jQuery in Wordpress einfügen ?

    1

    Mittwoch, 16. Juni 2010, 16:05

    jQuery in Wordpress einfügen ?

    Hey Leute,

    Wie bekomm ich das "jquery.js" in das Wordpress eingefügt?

    Also mit welchem Tag?!° bei CSS ist das ja das hier

    --> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>"media="all" />

    Danke euch
    mfg hobbeLe

    2

    Mittwoch, 16. Juni 2010, 16:17

    So wie WordPress Developer es machen:

    PHP-Quelltext

    1
    
    <?php wp_enqueue_script('jquery');

    3

    Mittwoch, 16. Juni 2010, 18:07

    Okay ?!?! versteh ich jetzt nicht ganz

    habs mal soo gemacht

    Quellcode

    1
    2
    3
    4
    5
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="icon" href="favicon.png" type="image/png" />
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>"media="all" />
    <script type="text/javascript" src="<?php wp_enqueue_script('jquery') ?>"</script>


    oder so ?

    Quellcode

    1
    2
    3
    4
    5
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="icon" href="favicon.png" type="image/png" />
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>"media="all" />
    <?php wp_enqueue_script('jquery') ?>


    geht halt iwie beides nicht :(

    mfg hobbeLe

    4

    Mittwoch, 16. Juni 2010, 18:09

    Gehts wenn du einfach das jQuery Framework so einbndest wie auf einer normalen HTML seite?

    5

    Mittwoch, 16. Juni 2010, 18:45

    jap auf der normalen html seite ohne Wordpress gehts einwandfrei ;)

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »hobbeLe« (16. Juni 2010, 18:50)


    6

    Mittwoch, 16. Juni 2010, 19:52

    Ne ich meine einfach in das Header template

    Quellcode

    1
    
    <script src="jquery.js"></script>

    7

    Mittwoch, 16. Juni 2010, 21:57

    Installier doch einfach über´s Plugin Interface.

    8

    Donnerstag, 17. Juni 2010, 01:39

    okay danke unplex ;)

    hab da jetzt das hier installiert "Transitions - AJAX/jQuery Effects" da gibts sonst nur anderes jquery zeugs unter anderem auch die lightbox die ich auch installiert habe da ich diese später noch brauche ;)

    naja aber es geht leider immer noch nicht :(

    hier mal der link zu der page
    http://hobbele.blakeceeno.de/wordpress/

    und hier soo wie es nachher aussehen soll also die navigation - hier funktioniert der effekt !!!
    http://hobbele.blakeceeno.de/demo/

  • Grufix-Board.de - GFX Webdesign Foto & Coding Community

    Grafik-Tutorials | Coding-Tutorials | Ressourcen | SEO | Webdesign | HTML5
    W3C Validator