Title: function dillema
Last modified: August 20, 2016

---

# function dillema

 *  [davy_yg](https://wordpress.org/support/users/davy_yg/)
 * (@davy_yg)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/function-dillema/)
 * Hi, all –
 * I have a dillema that I would like to ask:
 * My about subpages:
 * [About](http://ocklaw.com/new/about/)
 * Only works if I turn off:
 * wp_enqueue_script(‘slideshow_script’); function. (in localhost)
 * It still does not work live. Why ?
 * The dillema is I need that function for the front page or home if I turn it off
   then, the front slideshow will not works. Any body has any solution how to keep
   the slideshow works without meshing up the about subpages (in localhost) ?
 * Anyone has other solution ?

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/function-dillema/?output_format=md) [1](https://wordpress.org/support/topic/function-dillema/?output_format=md)
2

 *  Thread Starter [davy_yg](https://wordpress.org/support/users/davy_yg/)
 * (@davy_yg)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/function-dillema/page/2/#post-2610480)
 * There is another page:
 * // for practice
    wp_enqueue_script(‘jquery1_script’); wp_enqueue_script(‘jqfaq_script’);
 * // for front page
    wp_enqueue_script( ‘jquery17’ ); wp_enqueue_script( ‘Cycle_script’,
   get_template_directory_uri
 * // for about
    //wp_enqueue_script(‘jquery_script’); wp_enqueue_script(‘accordion_script’);
   wp_enqueue_script(‘dropdownnav_script’);
 * With that code: practice & front page works but about does not.
 * If I take off the // in wp_enqueue_script(‘jquery_script’);
    Then, only about
   works the rest does not.
 * I would like the whole thing works any idea how ?
 *  Thread Starter [davy_yg](https://wordpress.org/support/users/davy_yg/)
 * (@davy_yg)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/function-dillema/page/2/#post-2610493)
 * Here is a clue from JQuery forum:
 * > your wordpress register function is meaningless, the browser has no idea how
   > you generate the html page, and doesn’t care. Neither does it help here for
   > any troubleshooting here in forum
   > You need to be paying attention to what is sent to browser, in page source.
   > Focus on the scripts there, not in your wordpress plugin files. You should 
   > also look in browser console for errors.
   > Your page throws an immediate error when it loads which gives an immediate 
   > clue where to look. You have a script tag inside a js file which makes it invalid
 * No idea what it means and what should I do. Can anyone help me showing me what
   to do ?

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/function-dillema/?output_format=md) [1](https://wordpress.org/support/topic/function-dillema/?output_format=md)
2

The topic ‘function dillema’ is closed to new replies.

 * 17 replies
 * 3 participants
 * Last reply from: [davy_yg](https://wordpress.org/support/users/davy_yg/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/function-dillema/page/2/#post-2610493)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
