Forum Replies Created
-
AuthorPosts
-
Thanks Basilis,
I have added the code with the process of the custom css class field, but the body and footer links still do not turn into nofollow. I also need to add the nofollow for button and the total code is like thisfunction add_nofollow_attr(){
?>
<script>
jQuery(window).load(function(){
jQuery(‘body’).attr(‘rel’,’nofollow’);
});
</script>
<?php
}
add_action(‘wp_footer’, ‘add_nofollow_attr’);
// custom script
add_action(‘wp_footer’, ‘ava_custom_script’);
function ava_custom_script(){
?>
<script>
(function($) {
function a() {
$(‘.av_promobox’).each(function() {
$(this).find(‘.avia-button-wrap a’).attr(‘rel’, ‘nofollow’);
});
}a();
})(jQuery);
</script>
<?php
}Is that bad?
The second part is just a copy from here
My web is https://mekongtrails.com
Thanks,
Hoang- This reply was modified 6 years, 3 months ago by Hoang Truong.
Hi Enfold helpers,
If we want to let all links in footers and body to get nofollow, How can we change this line?
jQuery(‘.your-custom-class a’).attr(‘rel’,’nofollow’);I am very bad in code and really need your help on exact code.
Thanks,
HoangYou are super Dude, thanks for this great help,
Best,
HoangHi Basilis,
From my place, Polylang works well with loading portfolio items via the masonry. See this https://mekongtrails.com
The issue at my site is that the 404 error pages does not get redirected to our appointed page. Do you have any solution overthere?
Thanks,
HoangThanks Mike, it works very well. Thanks for your great support.
HoangThanks Mike so much,
I have two home age, one is in English one is in German. The English one is 734 and the German one is 13401. I also have some other landing pages which are not front page but also need the same change. Should I adjust like this?
function slider_h2_to_h1(){
if ( is_page(‘734, 13401, 11577’) ) { ?>
<script>
jQuery(window).load(function(){
var el = document.querySelector(‘.avia-caption-title’);
el.outerHTML = ‘<h1 class=”avia-caption-title “>’ + el.innerHTML + ‘</h1>’;
});</script>
<?php }
}
add_action(‘wp_footer’, ‘slider_h2_to_h1’);Thanks so much Mike. You help is excellent.
HoangThank you very much Mike,
This is great to change from H2 to H1. However, if I apply this code, I will change the H2 to H1 at sliders there will be problem for SEO. There are several pages (especially at landing pages, to urge for action to purchase) we make many sliders. If we add the codes, there will be many duplication of H1 (one page only allows one H1). This is serious for SEO and make the web to be ignored by Google.
Is there any way we can turn H2 to H1 at that very page only, not the whole web?
Thanks,
HoangHi Mike,
I have a little bit different issue and need your help on H1 too.When I enabled breadcrumbs and I have one H1 and that’s great for SEO. However, at some landing pages and homepage I do not want to display breadcrumbs. I will use a full-width easy slider with caption title. And caption title is H2.
I need to create a H1 to those pages.
– If I make a headline below that easy slider (the slider with H2 captio title) and make it H1, the order from H1 to H6 has been disordered. As far as I learnt the H1 should be before H2 so Google search engine will not get confused on the content.
– If I change that caption tittle to H1 then the rest of the web pages will face duplication in H1, which also confuses Google search engine too.So please help how can I make H1 in this situation. You can have a look at the homepage: https://mekongtrails.com/
Thanks for your help,
HoangThank you very much for your great help, Mike.
HoangHi Mike,
Thanks for your help.
I have tried to replace by ue800 too but this does not work. I don;t use child theme yet and did put the code under the line as indicated in the general instruction.
Please find admin and pass as below.
Thanks,
HoangSorry the web address is with wrong typing https://huediscovery.com
The trip advisor link is on the right of Flickr but trip advisor logo is just white blank space. When I click into the white blank space the link still works.
Thanks,
HoangNovember 8, 2017 at 10:22 am in reply to: Quick-CSS for Custom Tripadvisor Social Icon Color #874090I put this.
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons[‘tripadvisor’] = array( ‘font’ =>’tripadvisor’, ‘icon’ => ‘uf262’);
return $icons;
}
add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);// Add new icon as an option for social icons
function avia_add_custom_social_icon($icons) {
$icons[‘Trip Advisor’] = ‘tripadvisor’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);and the option is available at Social Profiles. However, the logo of trip advisor does not appear at the header. Do you think my code is wrong?
My web is https://huediscovery.com/
Thanks,
Thanks Ismael. It works well now. Thank you very much for your help. Hoang
Hi Ricard,
Please see this by mobile and you will not see the buttons because the letters stay in the middle of the sliders and not in the top of sldiers. (I see in the demo this can be done)
Thanks,
HoangHi there,
I have searched all day about my issue on full width slider, so would like to get a help from you.
In mobile looking, the caption is still in the middle of the sldier (middle vertically) so there is no space for the two button to appear. (in the desktop looking, it’s very beautiful with the position of middle vertically).
So, how can I make the caption up to top of the slider so my button can appear?
Thank you very much for your help,
HoangThanks Andy,
I have updated the theme and it works now. I have also fixxed the excerpt issue. This thread is closed. I will search the support or open others for other helps.
Thanks,
HoangDear Kriesi team,
Hope any can help please.
Thanks,
Hoang- This reply was modified 8 years, 8 months ago by Hoang Truong.
Hi Rikard,
In the latest and second latest post of blog, there are hundreds of unwanted links. Search “West took a long pause” in the source code of the latest blog post (8 things) and search “Kim Kardashian” for the second latest post you can see the links,
Please find account info below.
By the way could you also help to adjust this: in the tab or adcordion, when click into that tab, it changes to the color of navy green. I saw this in the mobile, but does not work in laptop.
Thanks,
Hoang- This reply was modified 8 years, 8 months ago by Hoang Truong.
Dear Kriesi team,
Could any help this please.
Hoang
Thanks Elliott. It works after trying yours, the 3.4.1. Thanks. Hoang
-
AuthorPosts