andyweb
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [Currency Switcher for WooCommerce] Exchange rate compensationThat’s awesome, just what I was looking for, thanks!
Am sure you’ve figured it out by now! Wasn’t immediately obvious to me either, but yeah, you’ve done the right thing there so should be working. The title attribute is for the ‘default’ option – needed if you want to set it to a required field.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Don't show custom post type titleHi John, thanks …I’m not sure if I am, what I have is this code in header.php straight after the </head> tag to call my custom post type, before any other php is included.
<?php $args = array( 'post_type' => 'hero_slider', 'posts_per_page' => -1 ); $daloop = new WP_Query( $args ); while ( $daloop->have_posts() ) : $daloop->the_post(); ?> <li> <img src="<?php the_field('slider_image'); ?>" alt="" class="sliderimg" /> <div class="overlay"> <div class="container cf"> <div class="contents"> <p class="title"><?php the_title(); ?></p> <p><?php the_content(); ?></p> <p class="link"><a href="<?php the_field('link_url'); ?>"><?php the_field('link_text'); ?></a> </p> </div> </div> </div> </li> <?php endwhile; ?>I’m using a different breadcrumb plugin (instant breadcrumbs) for now which gets it right, so it’s no biggie. Still would be good to understand the issue.
Viewing 3 replies - 1 through 3 (of 3 total)