Forum Replies Created
-
AuthorPosts
-
Hi Victoria!
Awesome, thanks for the help :) I’ve included language sensitive headlines in related-posts.php and it works.
Now that we’re getting the “you might also likes” up and running, I notice that recommendations are made across languages. So an English post might recommend a Danish post. Can we change that, so users are only recommended posts in their chosen language?
Example in English, recommending Danish post:
Thanks in advance :)
ThomasHi Victoria!
Well, it hadn’t occurred to me that the footer.php would influence translations in main content. Don’t you mean functions.php?
If I add this to functions.php, it works for the “Share” text:
add_filter('avia_social_share_title','av_translate_social_share_title'); function av_translate_social_share_title() { if (get_locale() == 'da_DK') { return "Share this entry in Danish"; } }
Do you have a similar fix for “You might also like” text?
Thanks.
Thomas- This reply was modified 4 years, 9 months ago by autopilotdk.
Hi Victoria.
Ahh, that makes more sense :D
I’ve published a post built without clicking “advanced layout editor”
It’s in Danish (html lang=”da-DK”), but the Share and You might also like texts appear in English.
Hi Victoria.
I’m afraid I don’t follow. :/
If I remove this:
//show social share on single blog posts if(is_singular(‘post’)) { echo do_shortcode(“[av_social_share title=".__('Share this entry','avia_framework')." style='' buttons='' share_facebook='' share_twitter='' share_pinterest='' share_reddit='' share_linkedin='' share_tumblr='' share_vk='' share_mail='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='']“); // end social share //show related posts based on tags if there are any get_template_part( ‘includes/related-posts’); // end related posts }
from template-builder.php nothing gets translated, because there’s nothing to see. No “Share” block and no “You might also like” block…
Am I missing something here?
/Thomas
Hi Victoria!
That’s really weird. When I download the da_dk.po file and review it in Poedit, the translations are there:
Are we looking at the same thing? Or aren’t those the right fields ?
Best regards,
ThomasThis reply has been marked as private.December 16, 2019 at 9:20 pm in reply to: Image shown in lightbox shows filename instead of caption #1166579Hi Yigit.
Login is tested and working now.
The screenshot you provided is great – but not the issue :)
Go here: http://autopilot.work/test/
Click the image webtimeseddel_00.jpg to expand it to full size.
The description text at the bottom left of the image is the problem. It shows the filename. Not the caption or title, or anything else I can input in the media library.
Can you help?
December 16, 2019 at 10:57 am in reply to: Image shown in lightbox shows filename instead of caption #1166304Done :)
December 13, 2019 at 9:29 am in reply to: Clicking Ultimate FAQ item opens permalink instead of expanding #1165437Disabling smooth page transitions in Enfold solves the problem, but I’d still like them on.
Is there a way of disabling per page, instead of site wide?
December 12, 2019 at 9:31 am in reply to: Clicking Ultimate FAQ item opens permalink instead of expanding #1165137Hi Ismael.
Thanks for the suggestion – I’ll pass it on to the plugin developer.
Why not use the toggle element?
We’re maintaining a knowledgebase in several languages – translating individual FAQ items is much easier than translating a page full of toggles
We need to be able to link directly to the FAQ item on a single page – a toggle cannot do that
We have items in different categories and with different tags according to content – a toggle cannot do that
We’re tracking views on individual items to determine where users are having most trouble – a toggle cannot do that
We’re doing SEO on individual items – a toggle cannot do that
We’re using item creation date for planning revisions and checking if the information is still relevant – a toggle cannot do thatIt’s more of a custom post type situation, than a design element :)
December 11, 2019 at 8:26 am in reply to: Clicking Ultimate FAQ item opens permalink instead of expanding #1164737Hi Basilis!
Go right ahead :)
/Thomas
December 9, 2019 at 8:41 am in reply to: Clicking Ultimate FAQ item opens permalink instead of expanding #1163981Hi Victoria.
That’s exactly the issue. The toggle expansion is what you expect – opening the page afterwards isn’t :)
I’ve made a guest admin login for you guys, thanks in advance!
December 5, 2019 at 2:44 pm in reply to: Clicking Ultimate FAQ item opens permalink instead of expanding #1163004Hi Ismael.
site shouldn’t be down.
http://autopilot.work/kundesider/faq/ is working fine here, although SSL isn’t implemented so you’ll have to ignore any messages and continue.
sorry – I don’t mean class selector, but class. The plugin produces code, wrapped in a div. This div has the class “ufaq-faq-list”. Individual FAQs have their own element, classed “ufaq-faq-toggle”. So the developer is asking if it is possible to omit a div by class, from Enfold’s functionalities… at least that’s my understanding :)
December 3, 2019 at 8:20 am in reply to: Clicking Ultimate FAQ item opens permalink instead of expanding #1162102PS: The developer suggests that the problem could be fixed if there was a way to omit div elements with the “ufaq-faq-toggle” class selector from Enfold’s functionalities.
August 6, 2019 at 10:46 am in reply to: Using Advanced layout builder with related entries/comments #1125045Alright – thanks :) So using ALB kind of breaks the built in functionality of blog posts. Or at least means you’ll have to do a bit of manual work. I get it now!
I ended up adding to template-builder.php
After:
echo $content;Added:
//show related posts based on tags if there are any
if(is_singular(‘post’)) get_template_part( ‘includes/related-posts’);That’ll add the Related Posts to a post created using ALB.
Is there a similar trick for adding the Social media sharing buttons?
Thanks in advance :)
August 5, 2019 at 10:28 am in reply to: Using Advanced layout builder with related entries/comments #1124673Also: How do I use the magic wand to insert Related Entries?
Thanks :)
August 5, 2019 at 8:40 am in reply to: Using Advanced layout builder with related entries/comments #1124657Hi Victoria!
Thanks for the suggestion :)
The magic wand adds shortcode, which, once inserted, can only be edited by editing the text – you can’t use the graphical GUI to edit inserted shortcode.Right?
Just asking because the users are not code savvy, and prefer graphical editors :)
Awesome, thanks – setting at background color accomplishes the same :)
Hi Rikard!
Check ouy
There are two video players. Top is youtube – ignore this.
Bottom is Enfold. Notice how the “play button” control overlayed on the Enfold video is white. And the video is white. So you don’t notice the control.
What I’d like, is a way to change the color of the control, preferably from the GUI or via CSS. But as far as I know, you can only use the CSS fill: property on svg-paths, not svg-files… so – any suggestions? :)
-
AuthorPosts