Tagged: Section order
- This topic has 11 replies, 2 voices, and was last updated 4 years, 4 months ago by Skandha.
-
AuthorPosts
-
July 18, 2020 at 8:09 am #253366LarsParticipant
Hi there
In my frontpage I had the 3 or 4 columms of homepage featured content.
I now had a page with some text I want to move up before theese 3 columms – I had before mark “X” somewhere in the theme options, so it automatic change the position, but now I can’t fint it in the theme options.
Could you please help me.
July 18, 2020 at 10:08 am #253374SkandhaParticipant@lpries: Hello there,
Can you please post in your site URL so that I can look into the issue?Kind Regards,
SkandhaAugust 3, 2020 at 12:23 am #254762LarsParticipant@skandha this is concerning REPLY #253366 and #254638
I had 2 websites, so you can see the difference – the probelem is with the website https://vestegnenssportsterapeut.dk:I’m already using child theme with static frontpage.
Website: https://larspries.dk where the frontpage order is (the way I would like to show):
1. Logo area
2. Featured slider
3. Homepage headline options
4. Frontpage text – static
5. Homepage featured content options
6. Footer widget areaBut at this website https://vestegnenssportsterapeuat.dk ther order is:
1. Logo area
2. Featured slider
3. Homepage headline options
4. Homepage featured content options
5. Frontpage text – static
6. Footer widget areaI want to move point 5 above point 4 at this website also, but I can’t find the checkbox to do it. It has been possible to do it before.
Please advise me what to do?
August 4, 2020 at 1:10 am #254888SkandhaParticipant@lpries: Hello there,
For that you will need to create a child theme like in https://larspries.dk/ and add a function. Let me know if you are familiar with child theme customization so that I can help you out!Kind Regards,
SkandhaAugust 4, 2020 at 3:16 am #254894LarsParticipant@skandha yes I’m familiar with creating child themes and also some basic HTML5. I already had created a child theme for the website https://vestegnenssportsterapeut.dk
For some years ago, when I began to use the theme Catch Everest Pro the function already was there as a check/uncheck box somewhere in the theme options, but that function had disappeared over the years development of the theme.
But anyway I hope you will be able to help me.
In advance thank you very much
August 5, 2020 at 4:57 am #254972SkandhaParticipant@lpries: Hello there,
Go to => Child Theme Folder => functions.php and add the following Code.function catcheverest_homepage_featured_position() { // Getting data from Theme Options global $catcheverest_options_settings; $options = $catcheverest_options_settings; $moveposition = $options['move_posts_home']; if ( empty( $moveposition ) ) { add_action( 'catcheverest_after_secondary', 'catcheverest_homepage_featured_display', 10 ); } else { add_action( 'catcheverest_after_secondary', 'catcheverest_homepage_featured_display', 10 ); } }
Let me know if this works out!
Kind Regards,
SkandhaAugust 5, 2020 at 9:13 am #254984LarsParticipant@skandha – I did not worked:
1. I copied the file functions.php from the main theme
2. I add the code into the files functions.php
3. I upload the file functions.php to my child themeAnd got this result:
Fatal error: Cannot redeclare catcheverest_setup_options() (previously declared in /var/www/vestegnenssportsterapeut.dk/public_html/wp-content/themes/catch-everest-pro_child/functions.php:442) in /var/www/vestegnenssportsterapeut.dk/public_html/wp-content/themes/catch-everest-pro/functions.php on line 442August 5, 2020 at 10:53 am #254993SkandhaParticipant@lpries: Hello there,
You are not supposed to copy the functions.php file from parent theme to the child theme. The functions.php file should already exist in the child theme. Isn’t that the case?Kind Regards,
SkandhaAugust 5, 2020 at 11:01 am #254994August 6, 2020 at 6:23 am #255090SkandhaParticipant@lpries: Hello there,
If you don’t have a functions.php file in your child theme folder you may not created the child theme the right way. Please use our plugin Generate Child Theme to create a child theme. Follow the instructions here on the Instructions tab.You will need to backup your customizer settings as well. For that you can use our plugin Catch Import Export Follow the instructions here on the Instructions tab.
When the child theme is created add the above code I provided you in the functions.php file.
Let me know if you have any issues.
Kind Regards,
SkandhaAugust 7, 2020 at 6:32 am #255204LarsParticipant@skandha – you are simply the hero of the day.
It works!
Thank you so much, you had really helped me out with this problem.
The child theme generator is so mush easier to use than my manually child theme programming.
I had learnt the manually way on a course, but only with the files screenshot and style.css. Apparently not a high quality cource.
So @skandha – thank you so much for your help. I love to work with themes from Catch Themes.
Have a nice day.
August 7, 2020 at 8:04 am #255217SkandhaParticipant@lpries: Hello there, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
https://wordpress.org/support/theme/catch-everest/reviews/#new-post
Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely
appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂Kind Regards,
Skandha -
AuthorPosts
- The topic ‘How to move the homepage featured content up and down’ is closed to new replies.