Forum Replies Created
-
AuthorPosts
-
wensolutions
KeymasterHello @teccs,
Glad to know your issue is resolved.
For your query regarding the CSS Selectors for the theme layout, please find below the list of CSS selectors below that will help you to make your custom CSS implementations through the Custom CSS option available in the theme :
.site-layout-fluid .site-layout-boxed .global-layout-no-sidebar .global-layout-three-columns .global-layout-left-sidebarHope this helps,
Best Regards !!
wensolutions
KeymasterHello @snoebergerm
The theme itself doesn’t have feature of adding Featured Slider in sidebar.
However you can find many slider plugin which you can use to display slider in sidebar.
Here is the link of one of the slider plugin.https://wordpress.org/plugins/ml-slider/
And you can use this plugin to display slider in sidebar.
And about your second query about the height of the slider, the slider height adopts the height of the image. So to change the height of the slider you need to change the height of the image uploaded.
Hope this will help you.
Regards!!!
wensolutions
KeymasterHello @MichelleG,
The header image in the theme is only set from the site identity in the theme customizer. The default image should set in the header if no other image is selected in this section.
Please post in your site URL so that we can further inspect your issue and provide a precise solution.
Best Regards !!
wensolutions
KeymasterHello @Uli
We are very glad to hear that your issue has been resolved.
If you have any further query regarding the theme never hesitate to post your query.Regards,
CHEERS!!!!wensolutions
KeymasterHello @teccs,
To make changes to your footer widget area as per your requests, you will need to go to your Admin Dashboard > Appearance > Customize > Theme Options > Advanced Options > Custom CSS field and paste in the following Custom CSS :
@media only screen and (min-width: 1200px) { .footer-active-4 { width: 20%; } #footer-widgets .container { width: 100%; } .footer-active-4:first-child { margin-left: 10%; } }Save and publish your changes and it should address your requested layout in the footer widget area.
Hope this resolves your issue,
Best Regards !!
wensolutions
KeymasterHello @Uli,
To decrease the excerpt content length and add read more link in the featured post area you will first need to create a child theme of the Education Hub Pro theme. If you need reference on creating and using child theme, please use this link as the reference : https://codex.wordpress.org/Child_Themes.
After creating and activating your child theme, go to the child theme directory and paste in the following codes in your child theme’s functions.php file:
function education_hub_modified_the_excerpt( $length = 40, $post_obj = null ) { global $post; if ( is_null( $post_obj ) ) { $post_obj = $post; } $length = absint( $length ); if ( $length < 1 ) { $length = 40; } $source_content = $post_obj->post_content; if ( ! empty( $post_obj->post_excerpt ) ) { $source_content = $post_obj->post_excerpt; } $source_content = preg_replace( '<code>\[[^\]]*\]</code>', '', $source_content ); $read_more_link = sprintf( '<a href="%s">%s</a>', esc_url( get_permalink( $post_obj->ID ) ), __( ' Read More', 'education-hub' ) ); $trimmed_content = wp_trim_words( $source_content, $length, $read_more_link ); return $trimmed_content; } function education_hub_get_featured_content_details( $input ) { $featured_content_type = education_hub_get_option( 'featured_content_type' ); $featured_content_number = education_hub_get_option( 'featured_content_number' ); switch ( $featured_content_type ) { case 'featured-page': $ids = array(); for ( $i = 1; $i <= $featured_content_number ; $i++ ) { $id = education_hub_get_option( 'featured_content_page_' . $i ); if ( ! empty( $id ) ) { $ids[] = absint( $id ); } } // Bail if no valid pages are selected. if ( empty( $ids ) ) { return $input; } $qargs = array( 'posts_per_page' => esc_attr( $featured_content_number ), 'no_found_rows' => true, 'orderby' => 'post__in', 'post_type' => 'page', 'post__in' => $ids, ); // Fetch posts. $all_posts = get_posts( $qargs ); $contents = array(); if ( ! empty( $all_posts ) ) { $cnt = 0; foreach ( $all_posts as $key => $post ) { $image_array = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'education-hub-thumb' ); $contents[ $cnt ]['images'] = $image_array; $contents[ $cnt ]['title'] = esc_html( $post->post_title ); $contents[ $cnt ]['url'] = esc_url( get_permalink( $post->ID ) ); $contents[ $cnt ]['excerpt'] = education_hub_modified_the_excerpt( apply_filters( 'education_hub_filter_featured_modified_content_excerpt_length', 20 ), $post ); $cnt++; } } if ( ! empty( $contents ) ) { $input = $contents; } break; case 'featured-post': $ids = array(); for ( $i = 1; $i <= $featured_content_number ; $i++ ) { $id = education_hub_get_option( 'featured_content_post_' . $i ); if ( ! empty( $id ) ) { $ids[] = absint( $id ); } } // Bail if no valid pages are selected. if ( empty( $ids ) ) { return $input; } $qargs = array( 'posts_per_page' => esc_attr( $featured_content_number ), 'no_found_rows' => true, 'orderby' => 'post__in', 'post__in' => $ids, ); // Fetch posts. $all_posts = get_posts( $qargs ); $contents = array(); if ( ! empty( $all_posts ) ) { $cnt = 0; foreach ( $all_posts as $key => $post ) { $image_array = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'education-hub-thumb' ); $contents[ $cnt ]['images'] = $image_array; $contents[ $cnt ]['title'] = esc_html( $post->post_title ); $contents[ $cnt ]['url'] = esc_url( get_permalink( $post->ID ) ); $contents[ $cnt ]['excerpt'] = education_hub_modified_the_excerpt( apply_filters( 'education_hub_filter_featured_modified_content_excerpt_length', 20 ), $post ); $cnt++; } } if ( ! empty( $contents ) ) { $input = $contents; } break; case 'demo-content': $demo_contents = array( array( 'title' => __( 'Featured Content One', 'education-hub' ), 'excerpt' => __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis metus scelerisque, faucibus risus eu, luctus est. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse ultricies nunc porttitor, rutrum libero quis, gravida odio. Donec tempus dui nec nisi fringilla, vitae efficitur risus cursus. Nam ultricies congue quam, non pellentesque ipsum mollis vel.', 'education-hub' ), 'url' => esc_url( home_url( '/' ) ), ), array( 'title' => __( 'Featured Content Two', 'education-hub' ), 'excerpt' => __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis metus scelerisque, faucibus risus eu, luctus est. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse ultricies nunc porttitor, rutrum libero quis, gravida odio. Donec tempus dui nec nisi fringilla, vitae efficitur risus cursus. Nam ultricies congue quam, non pellentesque ipsum mollis vel.', 'education-hub' ), 'url' => esc_url( home_url( '/' ) ), ), array( 'title' => __( 'Featured Content Three', 'education-hub' ), 'excerpt' => __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis metus scelerisque, faucibus risus eu, luctus est. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse ultricies nunc porttitor, rutrum libero quis, gravida odio. Donec tempus dui nec nisi fringilla, vitae efficitur risus cursus. Nam ultricies congue quam, non pellentesque ipsum mollis vel.', 'education-hub' ), 'url' => esc_url( home_url( '/' ) ), ), array( 'title' => __( 'Featured Content Four', 'education-hub' ), 'excerpt' => __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis metus scelerisque, faucibus risus eu, luctus est. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse ultricies nunc porttitor, rutrum libero quis, gravida odio. Donec tempus dui nec nisi fringilla, vitae efficitur risus cursus. Nam ultricies congue quam, non pellentesque ipsum mollis vel.', 'education-hub' ), 'url' => esc_url( home_url( '/' ) ), ), ); $input = $demo_contents; $input = array_slice( $demo_contents, 0, absint( $featured_content_number ) ); break; default: break; } return $input; }The code will decrease the no of words displayed in the excerpt of the Featured post section and will also add a “Read More” link to each of them.
Hope this resolves your issue,
Best Regards !!
wensolutions
KeymasterHello,
We are sorry that you are facing this issue but it seems like the theme does not have any issue as we have tried to replicate your issue but no issue came up.
We would like to suggest you to provide sufficient permission to the theme directory as it can be the major issue why the theme is not activating. To read about permissions check https://codex.wordpress.org/Changing_File_Permissions
Also, if you have installed any third party plugins then please try disabling them one by one and check if the issue is fixed. If the issue is fixed you will know the exact plugin that have created the issue.
But if the issue still continues then kindly let us know.Regards!!!
wensolutions
KeymasterHello @franekzaz
On the front page as in the demo of education hub pro there is our professors pictures.
As far as we have understood your issue you are trying to add our professors pictures same as shown in the demo.
If so, then to add that our professors section in the front page, you need to go to Admin Panel / Appearance / Customize / Widgets / Front Page Lower Widget Area.
Here you need to add EH:Teams: Widget. Set up the widget option according to your need.
Hope this will help you.
If you are having any confusion please let us know.
Regards
wensolutions
KeymasterHello @franekzaz
As much as we would love to help you with your issue but we are not clear about your issue.
Can you please explain your issue in much more details may be with your site URL or with screenshot of the requirement of the issue.Hope you understand.
Regards!!!!
wensolutions
KeymasterHello @niharikabalachandra
To fix the alignment issue as seen on your site you need to add Custom CSS.
For this you need to go to Admin Panel / Appearance / Customize / Theme Options / Custom CSS.
Here you need to copy and paste below CSS..resume-list .textbox { margin-left: 25px; }Hope this will help to resolve your issue.
Let us know how it goes.Regards!!!
wensolutions
KeymasterHello @niharikabalachandra
Can you please post your site URL so that we can debug you issue in more detail and provide you with some possible solution.
Hope you understand.
Regards!!
wensolutions
KeymasterHi @
You can put the following custom CSS in the Custom CSS field option in the Advance Options -> Customize.
#featured-news-events { display: none; } div#content.site-content { display: none; }Hope this helps !
Thanks
wensolutions
KeymasterHello @Uli,
To adjust the height to 180px, please put this custom CSS in Appearance -> Customize -> Advance Options -> Custom CSS
.site-header { min-height: 180px; }Hope this will resolve your issue here.
September 16, 2016 at 2:52 am in reply to: How do I hide the header (image with HOME) on the home page? #17778wensolutions
KeymasterHello @visual1bc,
To remove the header from your website home page you will need to edit thye page you have set as front page. In the home page edit screen find “Theme Settings” metabox at the bottom of the edit screen.
In Theme Settings > Layout tab, select “No Sidebar” option. Then under Image tab > Image Settings > check the “Check to Disable Banner Image Area” option. You can also check the breadcrumb for home page by checking “Check to Disable Breadcrumb” under Breadcrumbs tab.
After completing the steps above, save your change and your issue should be resolved.
Best Regards !!
wensolutions
KeymasterHello @fencinggal,
Glad to know your issue is resolved.
Feel free to post your queries if you have any more issues in the future.
Have a great weekend ahead !!
-
AuthorPosts





