art_design
Forum Replies Created
-
thanks a lot. i changed the widget, now everything works ??
Ah very very nice, it works after deleting your selected CSS-Code (just changed it on local server). Thank you VERY VERY much!!
Could you explain to me, why the “max-width”-line was causing a visual error?
Was this the case, because we already defined the height?If anybody is interested in the solution:
I had to define the ACF fields based on the $attachment_id.<?php // get an image field $image = get_field('foto_image'); $foto_year = get_field('jahr', $attachment_id); $foto_length = get_field('img_length_cm', $attachment_id); $foto_width = get_field('img_width_cm', $attachment_id); $foto_technik = get_field('technik', $attachment_id); // render ?>
In the div-class it looks like this:
<?php echo sanitize_text_field( $foto_name ); ?> <?php if (!empty($foto_year)) { ?> | <?php echo balancetags( $foto_year ); ?> <?php } ?></h4> <p class="gallery_description"> <?php echo balancetags( $foto_caption ); ?><br> <?php if (!empty($foto_length)) { ?> <?php echo balancetags( $foto_length ); ?> cm x <?php echo balancetags( $foto_width ); ?> cm | <?php } ?> <?php echo balancetags( $foto_technik ); ?></p>
the gallery looks like this now:
Forum: Fixing WordPress
In reply to: How to read out my theme license key in phpmyadminokay, sorry… you can delete the topic.
Forum: Plugins
In reply to: [WooCommerce] WL Product Filter only works without custom search pageHello,
unfortunately this does not help. I already have the woolentor addon installed.
Due to the fact that elementor and woolentor are third party products and you cant help me with that i changed my concept. I am now using just the preinstalled wordpress search form. The same thing happens, on the page result site, no results are shown.Code from my searchform.php
<form method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search"> <input type="search" class="field" name="s" value="<?php echo esc_attr( get_search_query() ); ?>" id="s" placeholder="<?php esc_html_e( 'Search here...', 'foto' ); ?>" /> <input type="submit" class="submit search-button" value="<?php esc_html_e( 'Submit', 'foto' ); ?>" /> </form>
Code from my search.php-file
<?php foto_header_menu_choice(); ?> <?php if ( class_exists( 'Redux' ) ) { ?> <!-- CONTENT START ============================================= --> <div id="content" class="search-page single-wrapper"> <?php $options = get_option('foto_framework'); $content_type = $options['content_type']; ?> <?php if($content_type == 'container') { ?> <div class="container"> <?php } ?> <?php if ( class_exists( 'Redux' ) ) { $options = get_option('foto_framework'); $blog_title = $options['blog_title']; $blog_subtitle = $options['blog_subtitle']; ?> <!-- PAGE TITLE START ============================================= --> <div class="page-title content-wrapper"> <div class="title-wrap container"> <h2 class="wow fadeInUp" data-wow-delay="2.3s"><?php esc_html_e( 'Search Result', 'foto' ); ?></h2> </div> </div> <!-- PAGE TITLE END --> <?php } ?> <!-- BLOG START ============================================= --> <div class="blog content-wrapper"> <!-- BLOG LOOP START ============================================= --> <div class="blog-post wow fadeIn"> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); get_template_part( 'inc/format/loop', get_post_format() ); endwhile; ?> <?php else : ?> <?php get_template_part( 'inc/format/content', 'no-result' ); ?> <?php endif; ?> </div> <!-- BLOG LOOP END --> <?php foto_content_nav($pages = '', $range = 2); ?> </div> <!-- BLOOG END --> <?php if($content_type == 'container') { ?> </div> <?php } ?> </div> <!-- CONTENT END --> <?php } else { ?> <!-- CONTENT START ============================================= --> <div id="content" class="search-page single-wrapper"> <div class="container"> <!-- PAGE TITLE START ============================================= --> <div class="page-title content-wrapper"> <div class="title-wrap container"> <h2 class="wow fadeInUp" data-wow-delay="2.3s"> <?php esc_html_e( 'Search Result', 'foto' ); ?></h2> </div> </div> <!-- PAGE TITLE END --> <!-- BLOG START ============================================= --> <div class="blog content-wrapper clearfix"> <!-- BLOG LOOP START ============================================= --> <div class="blog-post wow fadeIn"> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); get_template_part( 'inc/format/loop', get_post_format() ); endwhile; ?> <?php else : ?> <?php get_template_part( 'inc/format/content', 'no-result' ); ?> <?php endif; ?> </div> <!-- BLOG LOOP END --> <?php foto_content_nav($pages = '', $range = 2); ?> </div> <!-- BLOOG END --> </div> </div> <!-- CONTENT END --> <?php } ?> <?php foto_footer_option(); ?>
Link to Image from Search Result Page
Any ideas what is the issue there?
- This reply was modified 2 years, 7 months ago by art_design.