Forum Replies Created
-
AuthorPosts
-
December 14, 2018 at 5:08 pm in reply to: Issues with opening text blocks and having deleted items repopulated #1045333
Nevermind, I just went ahead and rebuilt the sections. I am not exactly sure what was going on but seemed to be some sort of glitch with the text box elements.
Thanks for the great theme.
HI there,
Just checking in to see if you guys have had a chance to look at why our theme won’t update. I am guessing it has something to do with the API key being set up incorrectly, but I am not entirely sure.
Thank you.
Hi there Victoria,
Thank you for the help… I have followed the instructions on those pages but have not been able to get the theme updated. I cannot seem to download the latest theme files to upload them via ftp.
I am adding the loin details for the live site and staging site (api key is the same on both). I am inheriting this project so am not sure if the API key was set up successfully from the beginning.
Thank you!
Hi there!
I have a shortcode button [av_buttonrow_item label='REQUEST FREE CONSULT' link='manually,https://app.acuityscheduling.com/schedule.php?owner=16684187?iframe=true' size='medium' label_display='' icon_select='no' icon='5' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' av_uid='av-3y48lo']
[/av_buttonrow]It is not opening the iframe, just reloading the page to the new one.
Is there anything I need to change in the shortcode for the target or link to make this open in a pop up?
I created a thread specific to this question but did not get any feedback and I need to finish the site today.
Thank you!Hey guys, just checking in on if there is a easier fix for this… I am trying to get this site launched today and figuring out this button is key. I am going to try writing some javascript to open the modal, but if you guys see this and can help that would be much appreciated!
Thanks you so much.
I’ve dug through this page and all the forums I can find related to this issue. This one may be the one to go off of: https://kriesi.at/support/topic/open-popup-modal-with-button/ but I would love to know if that is the right track.
Thanks!
Thank you Victoria! I really appreciate all the help!
I must have not had the link target set up correctly.
Would you helping to me to get the other button to load as a modal? I have all the other buttons working that way by adding ?iframe=true to the end of the url (https://app.acuityscheduling.com/schedule.php?owner=16684187). However for this shortcode button it keeps reloading to that page.
This is the last piece of the puzzle for us to get this site up and running.
Thanks!Also, trying to figure out how to get the button that is a phone number to open a call when clicked (right now it is opening a page on my site with a permilnk of the phone number).
Thanks for the help!
For reference the button in this screenshot is working the way I would like the button in the menu to work.
Great solution, thank you!
Hey Victoria,
Thanks for the links to other threads… those are very helpful.
I have one more question (I looked through the forums and did not see this one specifically)
I would like to add our map to be on every page above the footer. I added the map to the footer widget, then the map sits in the footer. Is there anyway to modify the footer so that the map sits outside of it? You can see in the screenshot (link below) provided what I am after… the top map is what I would like. If not, I can just add it is a template to each page, but I would love to automate that.
Thanks!
Cool, thank you Victoria!
Hello Rikard!
Thanks for the tip, it didn’t quite work the way we need, but I came up with a solution that gets the job done.
Thanks!
September 24, 2018 at 1:33 am in reply to: updated theme and header image and testimonial are not functioning properly #1013436One more thing… looks like the footer is not loadng either since making this theme update. At this point I am really not sure what is going on.
September 24, 2018 at 12:25 am in reply to: updated theme and header image and testimonial are not functioning properly #1013433I tried to disable functionality and that did not seem to help.
Thank you for looking into this!
September 23, 2018 at 11:32 pm in reply to: updated theme and header image and testimonial are not functioning properly #1013429This reply has been marked as private.Hey Rikard,
That worked perfectly! Can you explain why the z-index would effect the clickability of the link like that? Was the word always clickable but was being covered up by other elements with higher z-indexes?
Thanks for all the help.
Hey Ismael,
Thanks for the link! I was actually able to figure this one out on my own (and by that I mean looking on StackOverflow haha).
My search is working as I want it, but I have one final question… how can I get the search results to display on the same page that I have the search bar on? As it works now the results are being displayed on a new page. I am guessing I need to do something to the loop-search.php file.
Thank you for your help!
Here are my search.php and loop-search.php files:
<?php if ( !defined('ABSPATH') ){ die(); } global $avia_config; /* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); // allows to customize the layout do_action( 'ava_search_after_get_header' ); $results = avia_which_archive(); echo avia_title(array('title' => $results )); do_action( 'ava_after_main_title' ); ?> <div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'> <div class='container'> <main class='content template-search <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content'));?>> <div class='page-heading-container clearfix'> <section class="search_form_field"> <?php // echo "<h4>".__('New Search','avia_framework')."</h4>"; echo "<p>".__('Looking for something else? Try searching again','avia_framework')."</p>"; get_search_form(); echo "<span class='author-extra-border'></span>"; ?> </section> </div> <?php if(!empty($_GET['s']) || have_posts()) { echo "<h4 class='extra-mini-title widgettitle'>{$results}</h4>"; /* Run the loop to output the posts. * If you want to overload this in a child theme then include a file * called loop-search.php and that will be used instead. */ $more = 0; get_template_part( 'includes/loop', 'search' ); } ?> <!--end content--> </main> <?php //get the sidebar $avia_config['currently_viewing'] = 'page'; get_sidebar(); ?> </div><!--end container--> </div><!-- close default .container_wrap element --> <?php get_footer(); ?>
<?php global $avia_config; // check if we got posts to display: if (have_posts()) : $first = true; $counterclass = ""; $post_loop_count = 1; $page = (get_query_var('paged')) ? get_query_var('paged') : 1; if($page > 1) $post_loop_count = ((int) ($page - 1) * (int) get_query_var('posts_per_page')) +1; $blog_style = avia_get_option('blog_style','multi-big'); while ( have_posts() ) : the_post(); $the_id = get_the_ID(); $parity = $post_loop_count % 2 ? 'odd' : 'even'; $last = count($wp_query->posts) == $post_loop_count ? " post-entry-last " : ""; $post_class = "post-entry-".$the_id." post-loop-".$post_loop_count." post-parity-".$parity.$last." ".$blog_style; $post_format = get_post_format() ? get_post_format() : 'standard'; ?> <article <?php post_class('post-entry post-entry-type-'.$post_format . " " . $post_class . " "); avia_markup_helper(array('context' => 'entry')); ?>> <div class="entry-content-wrapper clearfix <?php echo $post_format; ?>-content"> <header class="entry-content-header portfolio-search"> <?php the_post_thumbnail('thumbnail'); // echo "<span class='search-result-counter {$counterclass}'>{$post_loop_count}</span>"; //echo the post title $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false)); echo "<h2 class='post-title entry-title'><a title='".the_title_attribute('echo=0')."' href='".get_permalink()."' $markup>".get_the_title()."</a></h2>"; ?> </header> <?php echo '<div class="entry-content" '.avia_markup_helper(array('context' => 'entry_content','echo'=>false)).'>'; $excerpt = trim(get_the_excerpt()); if(!empty($excerpt)) { the_excerpt(); } else { $excerpt = strip_shortcodes( get_the_content() ); $excerpt = apply_filters('the_excerpt', $excerpt); $excerpt = str_replace(']]>', ']]>', $excerpt); echo $excerpt; } echo '</div>'; ?> </div> <footer class="entry-footer"></footer> <?php do_action('ava_after_content', $the_id, 'loop-search'); ?> </article><!--end post-entry--> <?php $first = false; $post_loop_count++; if($post_loop_count >= 100) $counterclass = "nowidth"; endwhile; else: ?> <article class="entry entry-content-wrapper clearfix" id='search-fail'> <p class="entry-content" <?php avia_markup_helper(array('context' => 'entry_content')); ?>> <strong><?php _e('Nothing Found', 'avia_framework'); ?></strong><br/> <?php _e('Sorry, no posts matched your criteria. Please try another search', 'avia_framework'); ?> </p> <div class='hr_invisible'></div> <section class="search_not_found"> <p><?php _e('You might want to consider some of our suggestions to get better results:', 'avia_framework'); ?></p> <ul> <li><?php _e('Check your spelling.', 'avia_framework'); ?></li> <li><?php _e('Try a similar keyword, for example: tablet instead of laptop.', 'avia_framework'); ?></li> <li><?php _e('Try using more than one keyword.', 'avia_framework'); ?></li> </ul> <div class='hr_invisible'></div> <h3 class=''><?php _e('Feel like browsing some posts instead?', 'avia_framework'); ?></h3> <?php the_widget('avia_combo_widget', 'error404widget', array('widget_id'=>'arbitrary-instance-'.$id, 'before_widget' => '<div class="widget avia_combo_widget">', 'after_widget' => '</div>', 'before_title' => '<h3 class="widgettitle">', 'after_title' => '</h3>' )); echo '</section>'; echo "</article>"; endif; echo avia_pagination('', 'nav'); ?>
Thanks!
Awesome!
I got the search up and going with your code snippets… thank you for those I am pretty green when it comes to writing PHP.
OK, last question… I am using Relevanssi and am wondering how to return the featured image with the result. In the relevanssi backend I can edit if I want to show snippets, author, etc etc, but I cannot find where to return the image.
Any tips?
Hey Dude!
Thank you for the code snippet :-)
Is there anything else I need to do to implement this portfolio search other than add that to the functions.php file?
I added the code and inserted a Search Widget on a page to test it out but do not get any results when I search for the names of specific portfolio items or the categories or tags set up for the portfolio items.
Thanks!
Hello Yigit ,
Thanks for the documentation! That is super helpful going forward.
I am still not sure how to replace the menu icon on desktop (similar to what I did on mobile with this code):
/*————————*/
/* Add word menu next to hamburger icon
/*————————*/
.av-hamburger strong {
display: block!important;
position: absolute;
left: -90%;
top: 0;
font-size: 20px;
transform: translate(-90%, -44%);
}I can hide the av-hamburger-inner class, but then it is also hidden when the menu is active, which hides the “X” to close the menu.
Any tips would be much appreciated!
Thanks!Also, I just rebuilt my footer.php file in bootstrap… the footer looks great but now the menu does not work. What code is required in the footer to keep the site from breaking? I jut wrote the footer.php file in html… which is probably not a great idea haha
Hi Victoria, here is the link. It is a work in progress! :-)
March 14, 2017 at 11:44 pm in reply to: Resizing Featured Image in Single Blog Post, Related Post Thumbnails, etc. #761040Would it be possible to copy the whole function to the child theme functions.php, to avoid clashes when enfold updates?
-
AuthorPosts