I tested and the code works in the same hosting, with newspaper default, but with another domain:
http://www.cervecerias.info/2017/06/06/hostelworld/
So, the problem is with my mochileroinfo domain, and the original installation… I dont know what to do, I dont like to begion from zero again
Thanks. Did you copy the code directly in the text area?
I tried the new code in a post and in a page but it doesnt works. Maybe is a problem with the header? I never changed it.
It tried here: https://www.mochilero.info/test-2/
And here: https://www.mochilero.info/test3/
But nothing happend.
My header is the original from the theme:
<!doctype html >
<!–[if IE 8]> <html class=”ie8″ lang=”en”> <![endif]–>
<!–[if IE 9]> <html class=”ie9″ lang=”en”> <![endif]–>
<!–[if gt IE 8]><!–> <html <?php language_attributes(); ?>> <!–<![endif]–>
<head>
<title><?php wp_title(‘|’, true, ‘right’); ?></title>
<meta charset=”<?php bloginfo( ‘charset’ );?>” />
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
<?php
wp_head(); /** we hook up in wp_booster @see td_wp_booster_functions::hook_wp_head */
?>
</head>
<body <?php body_class() ?> itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/WebPage”>
<?php /* scroll to top */?>
<div class=”td-scroll-up”><i class=”td-icon-menu-up”></i></div>
<?php locate_template(‘parts/menu-mobile.php’, true);?>
<?php locate_template(‘parts/search.php’, true);?>
<div id=”td-outer-wrap” class=”td-theme-wrap”>
<?php //this is closing in the footer.php file ?>
<?php
/*
* loads the header template set in Theme Panel -> Header area
* the template files are located in ../parts/header
*/
td_api_header_style::_helper_show_header();
do_action(‘td_wp_booster_after_header’); //used by unique articles
-
This reply was modified 9 years by
MochileroInfo.
I tried too, but it doesnt work 🙁
I have this another more simple example:
This code:
<script language=’Javascript’ src=’http://www.bookhostels.com/files/index.php?UserID=Mochilero.info&File=bighw&Language=Spanish&Currency=USD&NewWindow=1&PropTypeSelect=’ charset=’utf-8′></script>
Works perfectly here in a html file:
http://mochilero.info/hostelworld.html
But here, inside the theme, doesnt works:
https://www.mochilero.info/hostels/
Should I add something else to Head?
My Head code now is: (inside head.php)
<head>
<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v2.8&appId=100643850012880″;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
<script type=”text/javascript” language=”javascript” src=”https://sistema.aseguratuviaje.com/scripts/clientcoti.js”></script>
<script>$(document).ready(function () {createlanding(“bIItuwcKAtHrdkfY5aAScxGPAVi6vlLqZWRH5CMsc622IcK1mn3k2g%3d%3d”,1,””,”es-ES”, 0);});</script>
<title><?php wp_title(‘|’, true, ‘right’); ?></title>
<meta charset=”<?php bloginfo( ‘charset’ );?>” />
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
<?php
wp_head(); /** we hook up in wp_booster @see td_wp_booster_functions::hook_wp_head */
?>
</head>
Ahhh thanks for the quick answer… but im not a pro, so i dont know nothing about ACF 🙁 Before Newspaper i used another wordpress theme with those codes and i didnt have any problem… I copied and pasted the code in the header section (in the custom code section from the Newspaper theme panel), so i cant understand where is the problem.
If I create an html file, outside the theme, it works: http://mochilero.info/hostels-search-box.html , but it doesnt works inside, in this post: http://mochilero.info/hostels
I have the same problem in my website. Im running php 5.6 and all the plugins are update.
“Big grid 4 Please move this shortcode on a full row in order for it to work.”
I have the same problem in my website. Im running php 5.6
“Big grid 4 Please move this shortcode on a full row in order for it to work.”