Forum Replies Created
-
AuthorPosts
-
July 29, 2024 at 7:29 am in reply to: How to add Structured data with Enfold without a plugin #1463202
Good morning,
Even after waiting, my structured data entered in the <head> is not recognized by Google. So I reactivated the incomplete structured data from Yoast and the Enfold theme.
I find incredible that there is not a way to add our own structured data provided in your theme.. The only solution you told me about is a plugin not updated for 8 months..
Am I the first who want to include local business structured data for my site?Best regards
July 23, 2024 at 6:28 am in reply to: How to add Structured data with Enfold without a plugin #1462738Hello,
In Yoast plugin, there is no so much informations available… they don’t have the schema type “local business”.
With Enfold it’s the same, there is no so much informations available..
So as i told you, i would like to add my structured data without plugin..Moreover, the plugin “Schema” you told me about is not updated since 8 months…and anyway, local business is only in the premium version so thanks!One more information, i use the plugin reviews and rating that is great for reviews and i desactived stuctured data from this plugin because i wanted to have only one file. I reactivate stuctured data from this plugin and i saw that now i have in double reviews in the Google testin tool of structured data. So my file seems to be half seen…
What is the best way for you to add code in the header of a spécific page?
There is not a way to add my personnal structured data to Enfold ones?- This reply was modified 4 months ago by pierremartin311.
July 22, 2024 at 11:49 am in reply to: How to add Structured data with Enfold without a plugin #1462668Hello,
i cheked everything, google console, wordpress, google my business and everything seems to be ok..
I use Yoast SEO but i desactivated structured data with this:add_filter( ‘wpseo_json_ld_output’, ‘__return_false’ );` in functions.php
If Yoast is activated by deleting this filter, i can see Yoast structured data in the search console.
It seems that my code is not visible by Google…
Do i have to wait ?
July 22, 2024 at 10:31 am in reply to: How to add Structured data with Enfold without a plugin #1462661Hi, thanks for your answer!
This is the code i put in header.php juste before </head>
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "LocalBusiness", "image": [ "https://vernissageduvar.com/wp-content/uploads/2024/06/image-du-site-vernissage-du-var.jpg" ], "address": { "@type" : "PostalAddress", "streetAddress" : "13 Notre Dame des Anges", "addressLocality" : "Gonfaron", "addressRegion" : "Var", "addressCountry" : "FR", "postalCode" : "83590 " }, "description": "Nous réalisons pour vous les travaux de ponçage, sablage, rénovations , petite ébénisterie, peintures et vernissage sur tous supports. ", "logo": "https://vernissageduvar.com/wp-content/uploads/2024/07/Logo-du-site-vernissage-du-var.png", "name": "Vernissage du Var", "openingHoursSpecification": [ { "@type": "OpeningHoursSpecification", "dayOfWeek": [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" ], "opens": "08:00", "closes": "18:00" }, { "@type": "OpeningHoursSpecification", "dayOfWeek": [ "Saturday", "Sunday" ], "opens": "08:00", "closes": "12:00" } ], "priceRange": "$$", "telephone": "0686721473", "url": "https://vernissageduvar.com", "geo": { "@type": "GeoCoordinates", "latitude": 43.31818189354868, "longitude": 6.2900818092288 }, "AggregateRating": { "@type": "AggregateRating", "itemReviewed": "Vernissage du Var", "ratingCount": 8, "ratingValue": 5 }, "review": [ { "@type": "Review", "author": { "@type": "Person", "name": "Elisabeth Hecketsweiler" }, "datePublished": "2024-06-21", "description": "Entreprise au top pour sa disponibilit\u00e9, son professionnalisme et ses tr\u00e8s bons conseils! Vraiment tr\u00e8s satisfaite du travail effectu\u00e9! Je ne reconnais plus mes meubles de cuisine! Nous referons appel \u00e0 Vernissage du Var les yeux ferm\u00e9s si besoin et nous les recommanderons autour de nous.", "name": "Vernissage du Var", "reviewRating": { "@type": "Rating", "bestRating": 5, "ratingValue": 5, "worstRating": 1 } }, { "@type": "Review", "author": { "@type": "Person", "name": "Pierre MARTIN" }, "datePublished": "2024-07-15", "description": "On voit tout de suite qu'on a affaire a un passionn\u00e9! un travail m\u00e9ticuleux pour un tarif tr\u00e8s raisonnable, les d\u00e9lais ont \u00e9t\u00e9 respect\u00e9s, je recommande sans aucune h\u00e9sitation!", "name": "Vernissage du Var", "reviewRating": { "@type": "Rating", "bestRating": 5, "ratingValue": 5, "worstRating": 1 } }, { "@type": "Review", "author": { "@type": "Person", "name": "S\u00e9bastien Hazebroucq" }, "datePublished": "2024-06-21", "description": "Au top.\nJe vous conseille vivement de jeter un oeil.\nTr\u00e8s beau boulot.", "name": "Vernissage du Var", "reviewRating": { "@type": "Rating", "bestRating": 5, "ratingValue": 5, "worstRating": 1 } }, { "@type": "Review", "author": { "@type": "Person", "name": "Djamila Sahki" }, "datePublished": "2024-06-21", "description": "Travail tr\u00e8s s\u00e9rieux je suis contente de son professionnalisme et pontuel je le conseille", "name": "Vernissage du Var", "reviewRating": { "@type": "Rating", "bestRating": 5, "ratingValue": 5, "worstRating": 1 } }, { "@type": "Review", "author": { "@type": "Person", "name": "Sebastien Ramuscello" }, "datePublished": "2024-06-21", "description": "Tres bon acceuil bon professionnel et tres reactif ! Je recommande sans hesitation.sebastien", "name": "Vernissage du Var", "reviewRating": { "@type": "Rating", "bestRating": 5, "ratingValue": 5, "worstRating": 1 } } ] } </script>
I don’t have error when i test it with google tools but the problem is that i don’t find it in the search console
Thanks for your help!
July 21, 2024 at 8:56 pm in reply to: How to add Structured data with Enfold without a plugin #1462624an other question: Whats is the difference by making this : https://kriesi.at/support/topic/structured-data-html/#post-758419 or ading the script in header.php?
The problem is that i know nothing in java and i took this script somewhere on the net without understanding really how it works…
So, i found my problem. I changed the rootMargin “-200” by “0” in my script and it works now on my Iphone..
I have an iphone 8 and it doesn’t work with the script…. i know Iphone 8 is not so recent but..
So, i just see that if i don’t use the script it works on small screen!
it seems that on screen under 400px large, the script don’t works…here is my script:
<script> function scrollTrigger(selector, options = {}){ let els = document.querySelectorAll(selector) els = Array.from(els) els.forEach(el => { addObserver(el, options) }) } function addObserver(el, options){ if(!('IntersectionObserver' in window)){ if(options.cb){ options.cb(el) }else{ entry.target.classList.add('active') } return } let observer = new IntersectionObserver((entries, observer) => { //this takes a callback function which receives two arguments: the elemts list and the observer instance entries.forEach(entry => { if(entry.isIntersecting){ if(options.cb){ options.cb(el) }else{ entry.target.classList.add('active') } observer.unobserve(entry.target) } }) }, options) observer.observe(el) } // Example usages: scrollTrigger('.intro-text') scrollTrigger('.scroll-reveal', { rootMargin: '-200px', }) scrollTrigger('.loader', { rootMargin: '-200px', cb: function(el){ el.innerText = 'Loading...' setTimeout(() => { el.innerText = 'Task Complete!' }, 1000) } }) </script>
So i can’t see my animation on some mobiles… I notice too that under 400px large, i have to put some ” !important” to make things work…
Hello,
yes, i told you that it start only when you arrive to this place.
So why when i put résolution at 400px large it works and 399 i can’t see anything?Ok , thanks for your help! have a nice day!
and thanks for the child theme but i don’t want to use one.
Hello,
i don’t need plugin, i just copy at the end of functiuns.php the modifications i made when there is an update of the theme. That’s why i want to now if it’s possible to put this scipt at the end of my functiuns.php.. i tried but it dosn’t work and i don’t know php …Ok, so i can disable the plugin? And concerning the script? I saw that you did’nt put the script at the end of the file, is there a reason for that?
oh, i forget to ask you something concerning the classic editor:
It seems that i can uninstall it now but why? because without this plugin it didn’t work like i wanted before..Did you do something to integrate it to Enfold?Hello,
Thanks a lot! it works now!
I have one question about the script: I dont have child theme and i use to keep modifications that i made in functiiuns.php in order to put it again when the file is updated.
I saw that you did’nt put the script at the end of the file, is there a reason for that?
Everytime i put modifications of functiuns.php at the end so it’s easyier for me to update it when it’s necesary.
As you see, I don’t understand so much about all of this…Thanks for your answer!
And tanks again for your help!And i delete the script in functiuns.php because with it, i was unable to navigate between tabs with mobiles….
Hello,
I didn’t know that i could disable classic editor…
Excuse me but it still the same..i clear all the cache, the browser and the litespeed cache. I even try it on Edge that i never use.
1- I open “https://vernissageduvar.com/nos-realisations/” the gap between the pictures is small and it’s what I want!2- i click on “portes” and there is a big gap between the 2 rows.. i have to scroll at the top of the page to see the same i can see on “meubles” when i open the page!
If i stay on “portes” and i refeesh the page, the gap between the picture is small ang i have a big gap if i go on “meubles”..
i don’t understand!hello,
I think it’s OK now… in fact it works on an other Iphone but it doesn’t work on mine.. I don’t know why!
My problem was only the position of my pictures who were set outside the screen…
Thanks anyway for your help!and in fact i don’t need a script spécific for flex colums, I put 4 pictures in the middle of my page inside nothing just before the place i want to make my animation… i don’t now if it’s the good method…
Hello,
thanks for your answer.
i put my responsive setings like this because it wasn’t working anyway..
Now, it seems to be ok , it works when i use the adaptive view tools of firefox but it doesn’t works on my Iphone..
Thanks for your script but it was already so long to make working the one i use now! I’m really bad in java and not so much better with all this!Can you tell me please what could be the resaons why it doesn’t work on my phone although it’s ok on my laptop?
Hello,
Nothing is working… when i arrive to the page, on “Meubles” there is a little space between the pictures.. it’s OK. then i click on “portes” and there is a big gap between pictures.. i have to scroll at the top of the page to reduce this gap and to have the same layyout that i have on “meubles” at the begining…Hello,
On phone i did it wittout this script… the animation doesn’t start like on lapetop when you arrive to the élement but it strats when the page is load….because his script doesn’t works on mobile…Hello,
I try the script again but it doesn’t works for me..Thanks!!
Hello,
the only css i have concerning Masonry are :` .main_color .container .av-inner-masonry-content,
#top .main_color .container .av-masonry-load-more,
#top .main_color .container .av-masonry-sort,
.main_color .container .av-masonry-entry .avia-arrow {
background-color: rgba(248, 248, 248, 0.6);
}
.av-fixed-size .av-masonry-entry .av-inner-masonry-content,
.av-caption-on-hover .av-masonry-item-with-image.av-masonry-entry .av-inner-masonry-content {
text-align:center;
padding: 0 10px 0 10px;
font-size: 16px;
font-weight:700;}
.av-inner-masonry {
box-shadow:10px 10px 5px 1px rgba(0,0,0,0.3);
}`I removed it and it changed nothing..
Concerning the script, it doesn’t change anything too.
Hello,
i don’t find how to close this post…i found everything on the documentation..
Thankshere is my page, it would be easier to explain
I try to change the size of the titles “meubles” and “portes”
Thanks!
hello,
i finally find a solution before your mail:
what i did:
i activated in enfold otions the debug mode in order to see shortcodes on my pages.
i created a tab section
in the first tab a created two others tab wher i past my two galery masonry shortcode.il let down in my pages my two masonry galery that i hide witth responsive setings (i cheked everything) because i was affraid to loose it. Can i delete those two masonry now that i have the short codes?
And an other question, how can you set the size of the tab title? i can;t find it..
if found it for the tab section but not for the tab in put inside.I hope you will understand my english!!!
thanks!
-
AuthorPosts