Forum Replies Created
-
AuthorPosts
-
June 9, 2022 at 6:44 am in reply to: Bug: Gravity Forms button on text block doesnt open or pop up #1354594
here is a screenshot
June 9, 2022 at 6:39 am in reply to: Bug: Gravity Forms button on text block doesnt open or pop up #1354592I wouldnt know how to do it? its in the backend text block editor. it’s not a front-end page
it worked thank you :D
it worked thank you!!
February 24, 2022 at 7:55 pm in reply to: How to show "No items" if a certain portfolio tag is empty in Masonry Gallery #1342179Sweet it worked! I made a slight adjustment because I forgot about a unique product tag, I adjusted and now it works!
thank you so much for helping me out with this. I truly learned alot!
I appreciate you!
February 23, 2022 at 11:19 pm in reply to: How to show "No items" if a certain portfolio tag is empty in Masonry Gallery #1342081So after studying your code and how it’s implemented, I was able to write a little script that I added before your code and it seems like it worked in theory. The console.log shows the create tag and it does apply to the element, but now it only shows “no current projects”.
any suggestions or ideas let me know
function empty_masonry_message_script() { ?> <script> (function($) { if( $('body.single-product').length || $('body.anotherclass').length ){ var BreadTrail = $(location).attr("href"); var BreadTrailx = BreadTrail.replace('https://staging.idgadvertising.com/tiletech/product/concrete-pavers/', ''); BreadTrailx = BreadTrailx.replace(/\/$/, ""); BreadTrailx = BreadTrailx.replace(/\//g,"-"); console.log(BreadTrailx); if (BreadTrailx.indexOf("porcelain-pavers") >= 0) { var PageTitle = $('.rightside .av-special-heading h1.av-special-heading-tag').text(); PageTitle = PageTitle.toLowerCase().replace(/ /g, '-'); var MasTag = 'tag-'+PageTitle; console.log(MasTag); $('#av-masonry-1.projectgallery').addClass(MasTag); } else { var MasTag = 'tag-'+BreadTrailx; console.log(MasTag); $('#av-masonry-1.projectgallery').addClass(MasTag); } } })(jQuery); const allCategoryClasses = []; const elementsWithCategoryClasses = document.querySelectorAll("#av-masonry-1[class*='tag-']"); const elementsCount = elementsWithCategoryClasses.length != null; for (let i = 0; i < elementsCount; ++i) { Array.prototype.push.apply( allCategoryClasses, elementsWithCategoryClasses[i].classList ); } const presentClasses = {}; var tagClass = (allCategoryClasses .filter((classname) => { const present = presentClasses[classname]; presentClasses[classname] = true; return classname.indexOf("tag-") == 0 && !present; })); (function($) { var nocat = $('<div class="nocat">No Current Projects</div>').css({'text-align':'center','font-size': '20px'}); $('#av-masonry-1 .av-masonry-container.isotope a').each( function() { if ($(this).children(tagClass).length != 0) { $(this).css({'display':'none'}); } }); if($('#av-masonry-1 .av-masonry-container.isotope a').is(':hidden')){ $(nocat).appendTo('#av-masonry-1'); } })(jQuery); </script> <?php } add_action('wp_footer', 'empty_masonry_message_script');
- This reply was modified 2 years, 9 months ago by jgax87.
February 23, 2022 at 6:56 pm in reply to: How to show "No items" if a certain portfolio tag is empty in Masonry Gallery #1342041Yes, the client will eventually have majority of tags used. The client just didn’t want to show the fallback of all the portfolio items in the masonry since these products are so specific. Thats why I asked if there was a way to not show anything or “No Current Projects” if a tag is empty.
February 23, 2022 at 5:24 am in reply to: How to show "No items" if a certain portfolio tag is empty in Masonry Gallery #1341932Youre right!!! I must have saw a different post and I thought different.
well now Im going to need to figure out how to figure how to put the class on all 200+ products…unless you have some idea. I was going to write a script to programmatically add the classes unless you think that wont work?
February 23, 2022 at 2:25 am in reply to: How to show "No items" if a certain portfolio tag is empty in Masonry Gallery #1341891Hi Mike thank you for the solution also sorry for the late response. Crazy busy with other projects as well. I think you know the feeling.
Thank you for the solution!
I applied that class to a product that I know definitely has projects associated to it and it showed up as no current projects. I know this one has projects. I pasted the link to a product that I know has a projects. I also pasted the temporary login as well
- This reply was modified 2 years, 9 months ago by jgax87.
February 17, 2022 at 2:47 am in reply to: How to show "No items" if a certain portfolio tag is empty in Masonry Gallery #1341020HI Mike. Sorry for the delayed response crazy week.
Well its not really a category its a portfolio tag if that make sense. I can’t unlock the site because the client has been snooping around without our permission but I will give you admin access and also link to you on example of a page.
the section where it says projects. that is where I need the message to pop up. I am using the content element: masonry to pull in projects (portfolios) that have used this product. the way it’s done is by tags. the reason being is because the portfolio grid doesn’t allow for selecting portfolio items by tags only it’s categories.
- This reply was modified 2 years, 9 months ago by jgax87. Reason: forgot to add element used and what section to look at
never mind i figured it out… you added an extra underscore to add_acction. it works!!! thank you :D
i saw that you made the modification to functions, but it doesn’t work. My modification doesn’t appear in the menu like how it does in the live version of the site. It works only if i apply the modification to the parent file but not child file
So i created a staging environment to show you the difference. I am going to supply the working example which is our live site and the staging site which has it broken. I will denote what is live and what is staging on the private section. The modifications is on line 52 of avia-snippet-hamburger-menu.js and it starts with /**** call second menu *****/ and it ends on line 63. I pasted the code also in the private section.
to briefly explain what is what.
the live site:
i have the modification on the parent file because that is the only way this works. to see what the modification does click on the on hamburger menu and it will be the second menu in the navigation.on the staging site. I have the modified js file in the child theme folder. As you will notice it doesnt work. but if you go to the functions.php i have a function commented out (//Load child theme avia.js) if you remove the comment, the modification does work, but when you go to try to close the hamburger menu..it doesnt retract up. the function starts line 30 and ends on line 37
i got this to work! please disregard and close this thing :D
okay thanks!
Hi Victoria and crew…any update on this?
Any update on this??
Hi sorry for the late reply.
just on desktop. we are gonna hide search icon on mobile which i can do.
link is in private area. as you can see the search icon is on the right side of navigation menu..i would like the search icon on the left or essentially the first navigation item.
September 29, 2020 at 7:21 pm in reply to: WooCommerce Pagination not showing – Please Help #1249481it worked thanks!
I swore i tried this code out too and it didn’t work, but i might used another from another post that was similar to the one above..but all us all works!
you may close this out!
please regard this post and use this one for updated support: https://kriesi.at/support/topic/woocommerce-pagination-not-showing-please-help/
- This reply was modified 4 years, 1 month ago by jgax87.
Any word on this? Anyone?
i pasted a temporary login in the private notes
Actually i got it to work! sorry for the back and forth. I needed to add the function to change the theme override path all is well now!
the child theme override didn’t work
Damn okay. Well i finally got cpanel credentials but i did see that documentation but I tried to do the child theme override but it didn’t pick up i had it at
wpc-child/shortcodes/
i am not sure if should hve changed the file path or not because ive done other templete changes and it picked up.
I would have never thought of that being the issue! thanks for fixing it <3
please see link provided
Same here!!! S*** IS BROKEN!!! :( space bar only works in visual editor, but everything else that isn’t a visual editor…i can’t put a space!
Send help! SOS…smoke signal!
with love!
August 6, 2020 at 8:43 pm in reply to: Moving WooCommerce product description outside of product summary breaks style #1235849Nope i am good now! Thanks though! but i still need this to be answered: https://kriesi.at/support/topic/click-anywhere-on-fullwidth-overlay-to-close/ :D :D
-
AuthorPosts