barbje
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: homepage blank after pressing the update buttonwhere can i find this cache file exactly ?
Forum: Everything else WordPress
In reply to: how to specify language in scripti implemented your code but it still does not change the language
can u check pls ?thx
Forum: Everything else WordPress
In reply to: how to specify language in scriptthx Corrina
but what about this line <h2><?php echo pll__(‘Nieuws/News/Nouvelles’); ?></h2>
how does he get the right echo to display on the page ?
as if i only leave ‘News’ on this line he only displays News on every languagethx
Forum: Everything else WordPress
In reply to: how to specify language in scriptthx i am trying to implement it but no luck so far
so any help is appreciatedhere is the full content of the page-home.php
<?php /** * Template Name: Homepage */ get_header(); ?> <section class="slider"> <?php if (get_field('slider')): ?> <?php the_field('slider'); ?> <?php else: ?> <img src="<?php echo get_template_directory_uri(); ?>/assets/slider.jpg" alt=""> <?php endif; ?> </section> <div class="main-content"> <div class="container"> <div class="row"> <div class="main-content-inner col-sm-12"> <div class="row"> <div class="col-md-6"> <?php $foto1 = get_field('foto_1'); $alt = $foto1['alt']; $thumb1 = $foto1['sizes'][ 'regular' ]; ?> <?php if ($foto1): ?> <div class="animate"> <hr class="b1"> <img src="<?php echo $thumb1; ?>" alt="<?php echo $alt; ?>"> </div> <?php endif; ?> <div class="bbg2 hblock2 home-block animate module "> <hr class="b1"> <?php the_field('block_2'); ?> </div> </div> <div class="col-md-6"> <div class="bbg1 hblock1 home-block animate "> <hr class="b1"> <?php the_field('block_1'); ?> </div> </div> </div> </div><!-- close .*-inner (main-content or sidebar, depending if sidebar is used) --> </div><!-- close .row --> </div><!-- close .container --> </div><!-- close .main-content --> <?php $foto2 = get_field('foto_2'); $alt = $foto2['alt']; $thumb2 = $foto2['sizes'][ 'home-bg' ]; ?> <div class="main-content parallax white" style="background-image:url(<?php echo $thumb2; ?>);"> <div class="container"> <div class="row"> <div class="main-content-inner col-md-6 col-md-offset-4"> <div class="bbg3 hblock3 home-block animate "> <hr class="b1"> <?php the_field('block_3'); ?> </div> </div><!-- close .*-inner (main-content or sidebar, depending if sidebar is used) --> </div><!-- close .row --> </div><!-- close .container --> </div><!-- close .main-content --> <div class="main-content"> <div class="container"> <?php // WP_Query arguments $args = array ( 'post_type' => array( 'post' ), 'posts_per_page' => '1', ); // The Query $query = new WP_Query( $args ); // The Loop if ( $query->have_posts() ) { while ( $query->have_posts() ) { $query->the_post(); ?> <div class="main-content-inner col-md-7"> <div class="home-block animate"> <hr class="b1"> <h2><?php echo pll__('Nieuws/News/Nouvelles'); ?></h2> <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4> <p><?php the_excerpt(); ?></p> <a href="<?php if( get_option( 'show_on_front' ) == 'page' ) echo get_permalink( get_option('page_for_posts' ) ); else echo bloginfo('url');?>" class="btn"><?php echo pll__('Meer Nieuws/More News/Encore des Nouvelles'); ?></a> </div> </div> <?php } } else { // no posts found } // Restore original Post Data wp_reset_postdata(); ?> <?php get_footer(); ?>
Forum: Everything else WordPress
In reply to: how to specify language in scripti have polylang as plugin
Forum: Plugins
In reply to: [Rencontre - Dating Site] registration link on photosthx Jacques
Forum: Plugins
In reply to: [Rencontre - Dating Site] registration link on photosanyone ?
Forum: Plugins
In reply to: [Rencontre - Dating Site] registration methosthx Jacques that worked !
Forum: Themes and Templates
In reply to: [Sydney] Need help making Sydney theme responsive to mobileForum: Plugins
In reply to: [WP Datepicker] date-field and calendar-field integrationgot it working finally ??
Forum: Plugins
In reply to: [WP Datepicker] date-field and calendar-field integrationbefore i go i send you my code
all lines like name, address etc… works but the datepicker fails to mail the chosen dates…in Formtab;
<fieldset>
- Naam en voornaam [text cf7s-name]
- Volledig adres[text cf7s-address]
- Email [email cf7s-email]
- Aantal personen (min. 2 – max.6) [text* cf7s-number]
- Aankomstdatum (wij verhuren van zaterdag t/m zaterdag) <input type id=”date-field” name=”date-field”/>
- Vertrekdatum (wij verhuren van zaterdag t/m zaterdag) <input type class=”calendar-field” name=”calendar-field”/>
…
in Mailtab;
Van: [cf7s-name]
Email: [cf7s-email]
Adres: [cf7s-address]Aantal Personen: [cf7s-number]
Aankomstdatum: [cf7s-date-field]
Vertrekdatum: [cf7s-calendar-field]
Forum: Plugins
In reply to: [WP Datepicker] date-field and calendar-field integrationi dont get it to work
i am leaving now for 3 days abroad, will contact u later if i need to
thx for ur help so farForum: Plugins
In reply to: [WP Datepicker] date-field and calendar-field integrationi have this now
- arrival date (from saturday-saturday) <input type id=”date-field”/>
i tried so many other options but no luck
Forum: Plugins
In reply to: [WP Datepicker] date-field and calendar-field integrationhi Fahad
i did what you said but no luck
this is what i receive then in my mailboxAantal Personen: 5
Aankomstdatum: [date-field]
Vertrekdatum: [calendar-field]
Hebt u al eerder geboekt bij ons?: Nee
so date and calendar should be the chosen dates