ItaliAdesso
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [BresponZive] Show slider on category?Sorry Water is Great, I don’t have the answer but I have just about the same question:
-In the category I added extra fields “afbeelding1, afbeelding2 etc”
–(part of) my header.php
<body>
<div id=”slider”>
<?php $image = wp_get_attachment_image_src(get_field(‘afbeelding_1’), ‘full’); ?>
<?php if (!empty($image)) { ;?>
<img src=”<?php echo $image[0]; ?>” alt=”vakantie, valle-brembana, italiadesso, Noord-Italie, appartementen, hotels, bed-and-breakfast, agriturismo” />
<?php }; ?>
<?php $image = wp_get_attachment_image_src(get_field(‘afbeelding_2’), ‘full’); ?>
<?php if (!empty($image)) { ;?>
<img src=”<?php echo $image[0]; ?>” alt=”vakantie, Noord-Italie, valle-brembana, italiadesso, MTB, wandelen, fietsen, wintersport, klimmen” />
<?php }; ?>
<?php $image = wp_get_attachment_image_src(get_field(‘afbeelding_3’), ‘full’); ?>
<?php if (!empty($image)) { ;?>
<img src=”<?php echo $image[0]; ?>” alt=”Noord-Italie, vakantie, valle-brembana, italiadesso, live-with-the-locals, authentiek, appartementen, hotels, bed-and-breakfast, agriturismo” />
<?php }; ?>
<?php $image = wp_get_attachment_image_src(get_field(‘afbeelding_4’), ‘full’); ?>
<?php if (!empty($image)) { ;?>
<img src=”<?php echo $image[0]; ?>” alt=”vakantie, Orobische-Alpen, Alpen, actieve-vakantie, valle-brembana, italiadesso, appartementen, hotels, bed-and-breakfast, agriturismo” />
<?php }; ?>
<?php $image = wp_get_attachment_image_src(get_field(‘afbeelding_5’), ‘full’); ?>
<?php if (!empty($image)) { ;?>
<img src=”<?php echo $image[0]; ?>” alt=”vakantie, valle-brembana, italiadesso, Bergamo, San-Pellegrino, appartementen, hotels, bed-and-breakfast, agriturismo” />
<?php }; ?><?php if(is_404() ) { ?>
<img src=”https://www.italiadesso.nl/wp-content/uploads/2013/06/ItaliAdesso-sorry.jpg” alt=”ItaliAdesso, Noord italie, vakantie” />
<?php } ?>
</div>My category.php is
<?php get_header(); ?>
<div id=”content” class=”content”>
<?php if(is_front_page() ) { ?>
<?php } else { ?>
<?php if ( function_exists(‘yoast_breadcrumb’) ) { yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’); } ?>
<?php } ?>
<div id=”articleHolder”>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php echo do_shortcode(‘[pt_view id=”ff838fdb85″]’); ?>
<?php endwhile; else: ?>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>I don’t understand why it doesn’t work
I fixed the border around the booking.com logo by this:
#flexi_searchbox img {
border : none;
}When I filled in the destination directly to an hotel f.i.
The “I don’t know when I’am going” doesn’t workand is it possible to set the date on blank?
region request:
I did find the destination id but it is not what I meant:
I want to show all the hotels etc in the region provincia di bergamo, so I think it should be destination = provincia di bergamo (when I put this on the booking.com directly into the I have the same problem, but Iám not sure either you are working or booking.com yourself.
This can be easily fixed firing button style like:
mmmm it doesn’t really work it is nog the submitutton but the booking.com logo. I tried to fix in my own style.css and also in the bos_searchbox.css. Can you give me advise?Did you see my link to https://www.italiadesso.nl/photonic-test/
Another question (I am working hard on the implementation on https://www.italiadesso.nl).
We are specialized into a certain part of North Italy, the Valle Brembana. This region has not an own id yet, is it possible to create?
If not, I want “provincia di bergamo, itali?” as destination, but the system doesn’t recognize it right and give the results for the city of Bergamo. When I fill in “provincia di bergamo, itali?” directly in booking.com it works well.In the example-view there is no border around the Booking.com logo, but in the real version there is. I dislike that, is ther a possibilty to change that.
For anyone who has the same problem: there is an work-around. Install the plugin “Post Type Switcher”. Then you have the possibility to switch your custom post to a normal post, you can fill in the destination and switch back…
It doesn’t really work yet, but first I have another “problem”
how can I activate the plugin for customposttypes?your suggestions are now in the new plugin version 1.3
the suggestion was:
For example, a page about London could have a WordPress custom field called ‘Booking’ with a value of ‘London’. The widget would pick up this value and pre-fill the search field with it.I can’t find out how I have to realize this.
Forum: Plugins
In reply to: [Booking.com Affiliate plugin] Can I use custom fields?I second that request too, for me with a customfield for the destination.
Another possibility would be to use an dropdown menu into the destination field.