- This topic has 4 replies, 2 voices, and was last updated 1 year, 5 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Education Hub Pro › Featured Content
Featured content created with images and excerpt set to display none. One featured content we’d like to click over to our sister website instead of linking to an internal page. Is that possible?
Yes it is possible with the JavaScript. Could you please share your site URL and the reference screenshot with the mark in which post you want to link external URL
Thank you for your quick response. Here is our test URL where we’re building the site: test.copafs.org. You’ll see the 3 featured content headings and images: Quarterly Meetings, FCSM Conference and Join COPAFS right under the main image. It’s the FCSM Conference feature in the middle that we would like to link to FCSM2023.org instead of an internal web page.
Please Simple JS and CSS plugin, and then follow the screen record
https://www.awesomescreenshot.com/video/17186080?key=cd56003782581bcb063ce0830c926c6d
You can change the youtube to your required URL
Thank you. I downloaded/activated Simple Custom CSS and JS as you suggested and added the code I saw in your video… changing the URL of course. It’s not working for me.
Here’s the code I entered so I can double-check that it’s right:
jQuery(document).ready(function( $ ) {
$(‘#featured-content .container .inner-wrapper article:nth-child(2) a’).attr( ‘href’, ‘https://fcsm2023.org’
);
});
Please advise.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |