Forum Replies Created
-
AuthorPosts
-
June 1, 2022 at 12:05 am in reply to: How can I choose a specific post with the featured post widget….? #505340Brad DaltonParticipant
The widget doesn't include this functionality by default but you can do it by creating a featured category and adding the posts you want displayed that way otherwise you would need to modify the code in the plugin which requires a understanding of how to use OOP.
Brad DaltonParticipantA point in the right direction :
1. No need for get_header or get_footer so remove them.
2. Add genesis(); at the end of the file. This function loads the header and footer hooks including the markup.
3. And remove the default genesis_loop and add it back with your function.
remove_action('genesis_loop', 'genesis_do_loop'); add_action( 'genesis_loop', 'your_loop' ); function your_loop() { // Your Code Here }
You can then use WP_Query to create your own custom loop or genesis hooks to add and remove default hooks for different elements including featured image, content, titles etc.
Brad DaltonParticipantBrad DaltonParticipantI doubt it will have any effect as long as meta data, permalinks and other links remain the same as well as the order of HTML content in your pages.
You can preview your new theme and check before activating it.
Brad DaltonParticipantThat's a step in the right direction. Now you need to spend some time and work out why.
Good start.
Brad DaltonParticipantHappy to point you in the right direction.
Please search for the function in your genesis folder and copy the entire function to your child theme.
You'll need a basic understanding of PHP code to remove the default function, add a new custom function and complete the modification.
Brad DaltonParticipantYou can modify the genesis_adjacent_entry_nav function from Genesis. Copy it to your child theme and change the functions for each link.
Brad DaltonParticipantBrad DaltonParticipantLine 66 in lib > templates > hero-section.php file, you can change the h2 tag.
May 1, 2022 at 9:47 am in reply to: How to Replace Featured Image on posts with Theme Header Background Image #505165Brad DaltonParticipantMay 1, 2022 at 9:30 am in reply to: How to Replace Featured Image on posts with Theme Header Background Image #505164Brad DaltonParticipantYou can modify the PHP code so the default is displayed rather than the featured image?
Brad DaltonParticipantAnother option is to try the Genesis Breadcrumbs plugin https://wordpress.org/plugins/genesis-simple-breadcrumbs/
Brad DaltonParticipantYou need to use the default templates or use code to remove the the slug from the breadcrumbs.
It's hard to test without setting up the same situation on a test site but those are my 2 suggestions unless anyone else has a better solution.
Brad DaltonParticipantThis looks like its occuring when you use a blocks page template but not when using the default template.
Brad DaltonParticipantI see it here https://jetsettingduo.com/homepage/food/ but not on the travel page.
Brad DaltonParticipantAre you referring to the permalink in the address bar? This is different to breadcrumbs which i can't see on this page.
Brad DaltonParticipantYou can add form code directly to a html block.
I tested this with email form code recently and it works fine.
Brad DaltonParticipantYou can add a captcha to your contact form or use another form plugin. https://wpforms.com/how-to-build-spam-free-wordpress-contact-forms-the-ultimate-guide/
April 28, 2022 at 6:39 am in reply to: Changing sidebar code hook on WooCommerce product single pages #505136Brad DaltonParticipantYou can add
echo '<div class="your-wrap">'; // Your Code echo '</div>';
Brad DaltonParticipantIt depends on which version of Genesis Sample but try this solution.
-
AuthorPosts