Forum Replies Created
-
AuthorPosts
-
April 17, 2014 at 8:34 pm in reply to: How remove add to cart/ select options links on shop and catalog pages? #252868
Yigit,
I think I have it figured since I will only have one button ‘Show Details’ for all products, I changed the following width from 49% to 100%
#top .avia_cart_buttons .button {width: 100%;}
That now centers the ‘Show Details’ button..regardless of this css
#top .avia_cart_buttons .button:last-child { float: right;}
Should be ok?
April 17, 2014 at 9:39 am in reply to: How remove add to cart/ select options links on shop and catalog pages? #252532Thank you Peter that successfully removes the ‘select options’ link
There was still a redundant delimiter so I removed this from line 213:
if(empty($extraClass)) $output .= " <span class='button-mini-delimiter'></span>";
Now the ‘Show Details’ link is floated right…what is the best way to get it centered?
Thank you Peter I am following this thread as I have the same problem.
Is there a way to hard code the breadcrumb for all portfolio entries to Home / Portfolio (specified id of the main parent portfolio/grid) / Portfolio Item
without any of the portfolio categories in the breadcrumbSo regardless of whether there may be many portfolio masonry grid pages just assign the main one’s page-id as the the parent breadcrumb to all portfolio items
can this be achieved with avia modify breadcrumb function?
Hey tcctemp and Peter I have been searching for this same thing:
Home / Portfolio page / Portfolio Entry
FYI I tried the above code and it resulted in removing Home and Portfolio entry from breadcrumb:
/ Portfolio Page /
I’ve read countless threads regarding portfolio breadcrumb including the one with the code below from Peter.
This achieves setting the ‘parent’ but also includes all the other portfolio categories which in many cases can be 10 or more.
Possibly this could be modified to only include ‘parent’ / portfolio item and not the categoriesnote: replace 20 with the desired parent page id
function avia_modify_breadcrumb($trail) { if(get_post_type() === "portfolio") { $page = 20; if($page) { if($page == $front) { $newtrail[0] = $trail[0]; $newtrail['trail_end'] = $trail['trail_end']; $trail = $newtrail; } else { $newtrail = avia_breadcrumbs_get_parents( $page, '' ); array_unshift($newtrail, $trail[0]); $newtrail['trail_end'] = $trail['trail_end']; $trail = $newtrail; } } } else if(get_post_type() === "post" && (is_category() || is_archive() || is_tag())) { $front = avia_get_option('frontpage'); $blog = avia_get_option('blogpage'); if($front && $blog) { $blog = '<a href="' . get_permalink( $blog ) . '" title="' . esc_attr( get_the_title( $blog ) ) . '">' . get_the_title( $blog ) . '</a>'; array_splice($trail, 1, 0, array($blog)); } } return $trail; } }
I also discovered google must have first crawled another portfolio masonary page and as a result it was stored as the session id “breadcrumb’ for all subsequent portfolio entries even if they weren’t included on that particular masonary portfolio page.
- This reply was modified 10 years, 9 months ago by ttem. Reason: add more info
March 23, 2014 at 3:13 am in reply to: How to get header background image to render at same time as logo and nav menu #241709Yes thank you Devin, I finally got the settings in W3TC to work was able to minify as well by switching to manual and removing the child theme’s style.css which breaks the layout if minified. Works much better than Super-cache and Better minify combo in my opinion.
This reply has been marked as private.Hi Josue,
Yes the megamenu items are hidden though shouldn’t they ‘expand’ and display when the parent menu is clicked as explained in the enfold header admin.
That is the functionality that is described there- but its not working and just want to confirm whether it may just not be working on my site.Thanks
March 19, 2014 at 10:12 am in reply to: How to get header background image to render at same time as logo and nav menu #239962This reply has been marked as private.March 19, 2014 at 10:12 am in reply to: How to get header background image to render at same time as logo and nav menu #239961Thank you Ismael, I’m using w3tc and working on speeding up load times with caching but minifying is a headache to get right. minifying html breaks layouts and haven’t been sucessful minifying css. Minified some js files, though its clear minifying is not for wimps.
I discovered you can dequeue scripts from certain pages for example woocommerce from non WC pages which can improve load time up to 1.5 seconds in some cases. This may be something others may want to try especially with larger plugin scripts…
cheers
March 13, 2014 at 7:11 pm in reply to: 2.6 Transparent header doesn't work if custom background header image is set #237129Hi Yigit,
Yes I’ve already updated to 2.6.1
Have you tested the transparent header effect when a custom background image has been set in header settings?
Just want to rule out that its not some other settings in my site they may be interfering.- This reply was modified 10 years, 9 months ago by ttem.
March 12, 2014 at 8:58 pm in reply to: 2.6 Transparent header doesn't work if custom background header image is set #236525Hi Yigit,
That did improve it as the slider images are appearing behind the semi opaque custom header background image so thank you for that.
Though the custom header background image is still there. Any ideas?Thank you for helping!
March 12, 2014 at 6:21 am in reply to: Really like the 2.6 header builder options! How to change title on social icons? #236140Thank you Ismael! I didn’t think it was going to that complicated.
Cheers!
March 12, 2014 at 2:33 am in reply to: 2.6 Transparent header doesn't work if custom background header image is set #236036This reply has been marked as private.March 11, 2014 at 8:56 pm in reply to: Really like the 2.6 header builder options! How to change title on social icons? #235847Hey Ismael,
Yes, I know that file controls the titles though the strings are stored elsewhere and are pulled in with this snippet:
on line 80
title='".ucfirst($icon['social_icon'])."'
Possibly use case argument like in lines 59-63
case ‘facebook’:
case ‘twitter’:
etc.
to change titles?
Thanks for helping on thisMarch 11, 2014 at 4:52 am in reply to: After update to 2.6 some css styles child theme style.css are not being applied #235175Thank you Devin changed enqueue to register – that fixed it.
Thanks Meanster, I suspected it was the child theme…..will check my customizations.
March 6, 2014 at 3:11 am in reply to: How to add search to mobile (smart phone width) slide-out menu? #233032Hi Yigit,
Yes, I checked that out. However that is not an suitable solution as it takes up quite a bit of screen real estate. Best to have it hidden and appear at the top the mobile slide-out menu. Maybe it could be triggered by the magnifying glass icon at the top of the slide-out menu?
Thanks for your help!
March 1, 2014 at 9:26 pm in reply to: How to Integrate Google Custom Search (CSE) into Enfold #231133Perfect! Thank you Peter!! Google powered search rocks! misspellings, semantic matches so much superior
Here’s some CSS adjustments to the Google results page I made that may help others:
.gsc-resultsHeader {display: none;}
.gsc-orderby-container {display: none;}
.gs-bidi-start-align {padding-left: 7px;}
.gsc-thumbnail{padding: 8px 0 11px 8px;}Customization to results styles can be made at your Google CSE interface.
Subscribe to the ads-free results and you may also remove Google branding:
.gcsc-branding {display: none;}Note in search.php I inserted the google search script in lieu of the existing search replacing lines 21-47:
<section class="search_form_field"> <?php echo "<h4>".__('New Search','avia_framework')."</h4>"; echo "<p>".__('If you are not happy with the results below please do another search','avia_framework')."</p>"; get_search_form(); echo "<span class='author-extra-border'></span>"; ?> </section> </div> <?php if(!empty($_GET['s'])) { 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' ); } ?>
Hope this will help other Enfold aficionados :)
March 1, 2014 at 12:23 am in reply to: Error on the top on the ajax results with relevanssi plugin search #230877Thanks Peter! I was trying to implement Relevanssi after seeing a tutorial for integrating it with Enfold.
So it seems for now there may be some incompatibility so I will implement Google custom search instead which should deliver better results. I’ll go over some of the previous threads for tips on that.Thank you for your team’s awesome support!!
February 21, 2014 at 10:39 pm in reply to: 2 h1 headings on product pages: 'Shop' in header and Product name #227716Mil Gracias Josue! I added the closing bracket } which was omitted from your posted code
so this is the ‘revised’ final
if(is_singular('product')){ $title = get_the_title(); $t_link = get_permalink(); }
Thank you again!
- This reply was modified 10 years, 10 months ago by ttem.
+100 for woocommerce product sidebar
The big reason for all the requests for sidebar on woocommerce product pages is the current poor usability on the responsive mobile as the everywhere sidebar and optionally other sidebar content get placed below the main image pushing the product content way down the page.
Moving the description and reviews tabbed content to the left and below the product image(s) and adding sidebar to right seems to be the most prevalent layout I’ve seen in other themes.
Thanks Team Kriesi you guys rock!February 21, 2014 at 9:17 pm in reply to: 2 h1 headings on product pages: 'Shop' in header and Product name #227683To clarify my previous post: the permalink on the H1 is still linking to the woocommerce ‘Shop’ page so needs to be changed to reflect the product’s url
<h1 class="main-title entry-title"> <a itemprop="headline" title="Permanent Link: Test Product" rel="bookmark" href="http://www.test.com/shop/">Test Product</a> </h1>
See the link still points to the ‘Shop’ page not the the product’s link
February 21, 2014 at 8:28 pm in reply to: 2 h1 headings on product pages: 'Shop' in header and Product name #227657Great Josue that works changing the subheader H1 to the product title but the H1 permalink needs to be changed as well from the /shop link to the product’s link
February 21, 2014 at 8:03 am in reply to: 2 h1 headings on product pages: 'Shop' in header and Product name #227303Thanks Josue I tried implementing that but it causes some strange behavior…. first loading the ‘Shop’ and product headings and then removing noticeably on each page load.
Maybe the best solution would be leaving the ‘Shop’ heading there but changing it from H1 to an H2 for product pages?
In this way the H1 from the product will take priority over the ‘Shop’ H2 which will fix the page’s SEO
Can this be done..changing the ‘Shop’ H1 to H2 heading on product pages?
February 21, 2014 at 1:27 am in reply to: 2 h1 headings on product pages: 'Shop' in header and Product name #227177I thought of that option though that gets rid of breadcrumb navigation in addition to not maintaining consistency though-out the site.
Displaying the product name as the h1 in place of ‘Shop’ would be the best solution. Then the second h1 in the product could be optionally hidden with css or removed from product template.
How to replace ‘Shop’ H1 with the current product?
Thank you for help!
February 17, 2014 at 9:25 pm in reply to: Replaced the default “Blog – Latest News” title needs H1 heading #225094Thank you Devin that worked, I will have to brush up on my css a little :)
February 14, 2014 at 9:19 am in reply to: If blog is in separate directory here's to remove /blog from portfolio item urls #223845Thanks Devin, would I be able to override that function in the child theme’s function.php file?
I want to avoid having edit this file each time theme is updated.
ThanksFebruary 14, 2014 at 12:47 am in reply to: Replaced the default “Blog – Latest News” title needs H1 heading #223712Thank you Ismael that solved it perfectly! This now displays all the blog titles in the header just like on pages.
How can I remove the blog’s <h1 class=”post-title entry-title” itemprop=”headline”> within the bolg content area as this is now duplicate of the blog post’s header h1.
I tried hiding it via css but this also hid the blog title on the blog category archive pages.
Anyway to remove it from blog page php output loop?
Many thanks
February 14, 2014 at 12:18 am in reply to: Blog grid: How to sort/display 1 category chronologically and 1 alphabetically? #223707Thank you again Ismael!
Thank you Peter that function helped fix the missing blog breadcrumb when using the blog grid without ‘assigning’ a blog page.
I modified it for use with ‘page’ post type. Now I can assign a ‘parent’ page breadcrumb to otherwise orphan pages.
Thank you again Peter and team Kriesi your support is outstanding! and much appreciated!Here’s the code for for others wanting to set a page parent breadcrumb – put the desired parent page id in custom field named ‘parent_breadcrumb-postid’
if(!function_exists('avia_modify_page_breadcrumb')) { function avia_modify_page_breadcrumb($trail) { if(get_post_type() === "page" ) { $pageid = get_field('parent_breadcrumb_postid'); if($pageid) { $page = '<a href="' . get_permalink( $pageid ) . '" title="' . esc_attr( get_the_title( $pageid ) ) . '">' . get_the_title( $pageid ) . '</a>'; array_splice($trail, 1, 0, array($page)); } } return $trail; } add_filter('avia_breadcrumbs_trail','avia_modify_page_breadcrumb'); }
Let me know if you see any improvements.
Cheers -
AuthorPosts