Very simple fix javascript problem
$10-30 USD
Paiement à la livraison
I have a simple javascript code. It works in jsfiddle. it's not working when I put it in wordpress site. JS Fiddle: [url removed, login to view] website: [url removed, login to view]
I had it in the body but figured it needed to go in the head. so I added it to display on that one page by adding <?php if (is_single( '160' ) ) { ?>
<!--guinea pig names custom JS-->
<script type='text/javascript' src="<?php bloginfo('template_directory'); ?>/js/[url removed, login to view]"></script>
<?php } ?> to header.php. Link shows up on view page source.
The two problems are: top generator isn't working at all, second one is not removing previous names when you click it again. it keeps adding to them instead of only displaying a new name,
The code works, so I don't know why it isn't working in wordpress. So, I will need you to fix it IN MY WEBSITE FILES, because outside of the website, i have it working. It's just not working inside wordpress.
I only want the javascript to load on that one post page (hence, the if/is_single, ID=160 statement in the header php file.)
If I put one generator in, it works fine. when I add two, it doesn't work.
I know this is simple for someone who understands javascript.
Nº du projet : #6702644
À propos du projet
Décerné à:
Hi, I am ready to start the project as soon as you hire me. Please visit my profile for more details. Please click on the link to view my profile: http://www.freelancer.in/u/vkriate.html http://vkriate Plus
7 freelances font une offre moyenne de 28 $ pour ce travail
Hello, I am JavaScript expert. I am willing to help you do this project right now. Please contact me. Thank you
Dear Employer, I have rich experience with these stuffs and already made huge research on it. I should not claim I am best in words but will prove with my work . Based on our expertise and long term experience, I can g Plus
Hi there, We have gone through your requirement and understood your job task, and can do easily. we have 7+ years experience in html, css, javascript , ajax, php, CMS and MVC. we have developed various type of web Plus