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….? #505340
Brad Dalton
ParticipantThe 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 Dalton
ParticipantA 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 Dalton
ParticipantBrad Dalton
ParticipantI 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 Dalton
ParticipantThat's a step in the right direction. Now you need to spend some time and work out why.
Good start.
Brad Dalton
ParticipantHappy 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 Dalton
ParticipantYou can modify the genesis_adjacent_entry_nav function from Genesis. Copy it to your child theme and change the functions for each link.
Brad Dalton
ParticipantBrad Dalton
ParticipantLine 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 Dalton
ParticipantMay 1, 2022 at 9:30 am in reply to: How to Replace Featured Image on posts with Theme Header Background Image #505164Brad Dalton
ParticipantYou can modify the PHP code so the default is displayed rather than the featured image?
Brad Dalton
ParticipantAnother option is to try the Genesis Breadcrumbs plugin https://wordpress.org/plugins/genesis-simple-breadcrumbs/
Brad Dalton
ParticipantYou 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 Dalton
ParticipantThis looks like its occuring when you use a blocks page template but not when using the default template.
Brad Dalton
ParticipantI see it here https://jetsettingduo.com/homepage/food/ but not on the travel page.
Brad Dalton
ParticipantAre you referring to the permalink in the address bar? This is different to breadcrumbs which i can't see on this page.
Brad Dalton
ParticipantYou can add form code directly to a html block.
I tested this with email form code recently and it works fine.
Brad Dalton
ParticipantYou 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 Dalton
ParticipantYou can add
echo '<div class="your-wrap">'; // Your Code echo '</div>';
Brad Dalton
ParticipantIt depends on which version of Genesis Sample but try this solution.
-
AuthorPosts