- This topic has 4 replies, 2 voices, and was last updated 8 years, 9 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 › Free Themes › WEN Business › Front Page Widgets
Tagged: front page widget area
I am using the Latest News widget to create three boxes on the home page. I created three special posts for this purpose. Is there a way to have the boxes link to a page rather than to the post? I could set up a redirect but am hoping there is a better solution.
Thank you.
Hello @wolfsong,
The plugins that you are using fetches latest news from the custom posts.The request you have asked for is a featured request and it requires lots of customization of the theme file. You can create child theme to achieve this feature. After activating the child theme, creating new php file, edit the code inside /themes/wen-business/latest-news.php
You can go through this helpful tutorial and achieve the result. However, you need to customize the theme’s code carefully as design of the wen-business theme is different from the theme mentioned in this tutorial.
Latest news linking to page
Let us know how it works!!
Regards.
I’m not exactly sure what you are suggesting. Create a plugin? Or a page template? All I want to do is have the three posts in the Latest News widget link to a page rather than to the post itself.
I could also use the Service widget. It lets me specify a URL for each service, but can I change the font-awesome icon to a photo somehow?
I set up redirects in .htaccess for each post, to go to the page I want. This works, although it’s probably not the best solution.
Going back a little to your previous query for Latest News widget, this widget is programmed to pull up the posts from any category you make so logically not possible to pull the pages. Hope you have understood it.
Regarding use of image (photo ) as icon in place of font-awesome icon is somehow not possible without customizing the source code. Although it is possible by first creating a Child Theme and edit the widget code to place the image source code.
Note: We do not recommend you to edit the .htaccess file for URL redirection. Service widget URL field alone would help you to link the block to the custom page link that you enter on this field.
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. |