Site logo

Archived topic

Problem with custom JS

4 replies · Started by Viktor on April 24, 2018

Viewing posts 1–5 of 5

Hi everybody,

Could you help me pls. with Quotes Slideshow
1) i have example with Quotes Slideshow: https://www.w3schools.com/howto/howto_js_quotes_slideshow.asp
2) if i add this code to childtheme of generatepress then i have a problem with default slide(we have no defult slide)
Dear Tom or any more how can help slove my prob. with default slide.
I need that my Quotes Slideshow should be as on example website
my website: http://charcoal-firewood.com/
example web site: https://www.w3schools.com/howto/howto_js_quotes_slideshow.asp

see file on my website:
http://charcoal-firewood.com/wp-content/themes/generatepress_child/js/custom_script.js
http://charcoal-firewood.com/wp-content/themes/generatepress_child/css/custom_css.css

How are you adding the JS and CSS to the site? Uploading the files is a step in the right direction, but they need to be linked to within the theme.

Have you considered using something like Meta Slider? It will have better compatibility and should be easier to work.

Dear Tom,

I am your direct customer and could you give me support for the prob.

wp_enqueue_script('quotes_slideshow_script', get_stylesheet_directory_uri(). '/js/custom_script.js');
wp_enqueue_style('quotes_slideshow_css', get_stylesheet_directory_uri(). '/css/custom_css.css');

Could you pls help me with JS compability?
How much it will be cost?

quotes_slideshow - it shold be team slider and early i did use OWL.carusel and have same problem with you theme...

I send to you email(tom@edge22.com) with access to ftp/wp-admin some min ago

Sorry for confusion but i sloved the prob

Glad you got it working :)

This archived topic is closed to new replies.