- This topic has 6 replies, 2 voices, and was last updated 1 year ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › University Hub Pro › Services Sections
Could you assist me in changing the homepage in services section from a page to a post?
Please follow the screen record and add this code on your site
https://www.awesomescreenshot.com/video/22000035?key=d555783dfe9f1c881f0169e9486c4586
Add this code at the end of function.php file – as in the screen record
function unversity_pro_get_post_choices() {
$choices = array( ” => esc_html__( ‘–Select–‘, ‘unversity-hub-pro’ ) );
$args = array( ‘numberposts’ => -1, );
$posts = get_posts( $args );
foreach ( $posts as $post ) {
$id = $post->ID;
$title = $post->post_title;
$choices[ $id ] = $title;
}
return $choices;
}
And add this code in the home-section.php – as in the screen record
‘choices’ => unversity_pro_get_post_choices(),
I can’t access to this video anymore as I haven’t fixed my last time issues yet. Could. you send me video again
Is it possible to share your site login we will add it for you.
You can share it with prashant.themepalce@gmail.com
Well, it says this email address does not exit
We have updated post-selection on your site please verify from your side and let us know
It works thanks
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. |