Law
Forum Replies Created
-
Hello @manuelrocha88
Would you have any advice regarding to my settings ?
Thanks in advances,
Regards,
LawMy URL website is
https://site.com
I applied precisely the settings like described above. Please see these screens and tell me what I could change :
– External Links : https://pasteboard.co/J7yjNTj.jpg
– Excluded Links : https://pasteboard.co/J7yjztt.jpg
– Exceptions Tab : https://pasteboard.co/J7ympdu.jpg (I’ve tried with and without the trailing slash for “site.com/ugc-part”)Regards,
LawSite.com is my domain (internal)
@manuelrocha88
After applying the settings like above, and a test of a new external link on a page “site.com/ugc-part/subpart1/sub-subpart1″, this external link is tagged like that :data-wpel-link=”external” rel=”external noopener noreferrer”
=> so the tag rel=”nofollow” is missing
In Exception tab >> Exclude external links by URL field, does it take into account all the subpaths of the URL (and add “site.com/ugc-part” in my case) ?
As you can see, my test was precisely in a subpath.
Thank you,
Regards,
Law@manuelrocha88
Oh… Excuse-me my last message was wrong and you previous answer was OK to resolve my problem.In my last message, when I said “the structural forum links” they are – of course- internal ! So there is no problem with them, as we affect only external links.
And these external links can only take place in the users messages.So I test your solution and will give you a feedback.
In Exceptions tab, I let with default values :
– Own settings for excluded links : Own settings for excluded links
– Skip script and mailto : both checkedregards
LawHello @manuelrocha88
Thanks for your reply.
Unfortunately I forgot something : the “ugc-part” is a forum. That means that all the structural forum links will be unfollowed with this solution (I wanted to unfollow only the messages inside the forum)…
I’ll think more about it…
regards,
Lawthank you,
I just created it.
Please let me know how I can deal with that case…
LawHi,
Thanks for your reply. For the parent pages, it’s OK. But…
By saying :*The need*
In the carousel, I need to hide/exclude a precise page, and also ALL its sub- (or children) pages (existing, and future).I meant that other pages – those that must be displayed in the carousel – have also their own child pages. That includes :
– Their existing child pages
– Their child pages to come
=> That is managed manually with your method. But only once the page is published : I would prefer automatically.In my configuration, parent pages are all already existing (no new ones will be created), but most of the child pages have to be created.
The issue is precisely about how to manage the child pages linked to precise parents pages that I will create in the future : Hide them automatically from the carousel.
Your “inclusive” method is good, but a little thing is missing in order to include also automatically the child pages of the selected parent page : In your video example, child pages ‘Page one’, ‘Page two’ and ‘Page 3’ are not displayed in the carousel.
Would you see how to do that ?Last question, (as my carousel is on the homepage) which filter is the best with performance issue : inclusive or exclusive ? But let’s resolve the above functional question, it will be great !
Thanks a lot for your assistance, hope it helps other users.
LawHello,
I’ve found something like this… In this example I want to hide children pages from pages 101, 102 and 103.
But no idea how to make the code perfect, and where to insert it in the plugin (I’m not a developer). Any assistance please ?
function HideInCarousel($query) { if ($query->is_PAGES_TO_HIDE_FROM_CAROUSEL) { // exclude children of pages 101,102,103 $parent = array(101,102,103); $children_data = get_pages( array( 'child_of' => $parent, 'post_type' => 'page' ) ); $excludes = array($parent); foreach( $children_data as $child ) { array_push($excludes, $child->ID); } $query->set('post__not_in', $excludes); } return $query; } add_filter('pre_get_posts','HideInCarousel');
Thank you,
Regards,
LawForum: Plugins
In reply to: [Latest Post Shortcode] First load without thumbnailThank you !
Forum: Plugins
In reply to: [Latest Post Shortcode] First load without thumbnailHello Iulia,
OK, thank you.
This new version with multiple placeholders should resolve my problem !
What is the format of the list of multiple placeholders ? Because I see :
“Define an image to be used for the posts that do not have a featured image. If you specify a list of images separated by comma, a random one from the list will be picked for each article that does not have a featured image.”
But should I place in the field “IMAGE PLACEHOLDER” all the full URL separated with comma ?
https://mysite.com/photo1.jpg, https://mysite.com/photo2.png, https://mysite.com/photo3.jpg, https://mysite.com/photo4.png,
=> it should work like that?
Thank you,
Regards,
LauForum: Plugins
In reply to: [Latest Post Shortcode] First load without thumbnailHello Iulia,
Thank you for your fast reply,
1/ Your answers:
– “The fact that you use the random order might give you results that do not have images.”
=> The posts do have a featured image– “set a placeholder image to the shortcode”
=> Hum, yes, but 3 times the same picture side by side is not the best ??2/ For the moment I do not have any live page, so may I share you a precise piece of code ?
3/ Could a relation with the lazy loading function from Autoptimize, or a setting from Easy FancyBox related to my problem ?
4/ Then, do you have a css setting that allow 5 columns (it seems that 4 is the maximum) ?
regards,
LauForum: Plugins
In reply to: [Front End PM] Custom Email senderHello Shamim,
Oh yes, of course, I did not see it.
Thanks a lot !
Regards,
Lau- This reply was modified 5 years, 1 month ago by Law.
Forum: Plugins
In reply to: [Front End PM] Custom Email senderTo complete, with the other emails : “account confirmation”, “lost password”… the email sender field is correct.
I would need the same behaviour with the “you have new message” email.
Thank you,
LauForum: Plugins
In reply to: [Asgaros Forum] Hide New topic button on parent forumHello @asgaros
LoL ! OK, thank you… That suits my needs. I forget my super custom code ??