Forum Replies Created
-
AuthorPosts
-
mmjaegerMember
bump
mmjaegerMembernow idea what the fix would be but I think I found the reason:
in the genesis footer.php file there is a function called genesis_footer_widget_areas - it returns the widgets like this:
'
//echo wp_kses_post( $footer_widgets );echo $footer_widgets;
'
commenting the first line and returning the $footer_widgets works - so we have to find a way to add the form as a valid html tag?!mmjaegerMemberInstalled the twentynineteen theme and the shortcode works flawlessly so I believe it certainly has something to do with either Genesis or Genesis Sample.
Hope somebody has some ideas?
mmjaegerMemberThanks Victor
I'm using the very same shortcode in GeneratePress and it works just fine - this is really weird
mmjaegerMemberThanks Victor - the issue was that I'm using a 'genesis_setup' function - it needed the priority set to 15 in order to make this work.
Thanks again
July 8, 2017 at 7:43 am in reply to: Setup menu incl. dummy pages and CPT Archives – Breadcrumbs #208845mmjaegerMemberthanks Victor - I'm afraid my question wasn't clear - I'm just talking about Navigation and Breadcrumbs - there is basically no parent "Company" - it is just a menu item using "custom-link"
mmjaegerMemberthe url is page to check - the post type has 29 entries - I'm showing 10 a page so the pagination should be 1 2 3
mmjaegerMemberthanks but no luck - it's exactly what I have - the numbers are just dead wrong until I set the first filter
mmjaegerMemberthanks for the input - but I've read all that - the issue is just with the pagination.
mmjaegerMemberthanks - I wanted to save some work - what you're saying is basically make a duplicate of the CPT archive page and name it after the taxonomy, right?
mmjaegerMemberplease ignore - figured it out
/** * Template Redirect * Use archive-resource.php for all resources, 'resource-category' and 'resource-tag' taxonomy archives. * * @param string, default template path * @return string, modified template path * */ add_filter( 'template_include', 'thx_template_redirect' ); function thx_template_redirect( $template ) { if ( is_tax( 'resource_category' ) || is_tax( 'resource_tag' ) ) $template = get_query_template( 'archive-resource' ); return $template; }
June 28, 2017 at 6:22 am in reply to: Hide author box after single post if user bio is empty #208369mmjaegerMemberThanks for your input
I came up with the following code and it seems to work as well:add_filter( 'get_the_author_genesis_author_box_single', 'thx_get_the_author_genesis_author_box_single', 10, 2 ); function thx_get_the_author_genesis_author_box_single( $value, $user_id ) { $field = get_the_author_meta( 'description', $user_id ); if ($field) return true; }
mmjaegerMemberThanks Dave - I think the issue is related to the Elementor Page Builder - I've installed just the Genesis Sample theme and the Elementor plugin and it quickly shows the hidden primary navigation upon reloading the page - I was wondering whether anybody else is experiencing this issue.
anybody successfully working with Elementor and Genesis??
mmjaegerMemberThanks for your detailed response - still cannot find the setting that would allow me to delete the metadata - as to Yoast, is it worth to go premium?
mmjaegerMemberthanks for replying - does the Yoast SEO make that much of a difference compared to the Genesis SEO?
mmjaegerMemberthanks Victor - that worked like a charm
mmjaegerMemberThanks Victor - you're really an asset to this community.
Meanwhile I figured it out - please see below:add_filter( 'genesis_structural_wrap-footer-widgets', 'prefix_filter_footer_widgets_structural_wrap', 10, 2); function prefix_filter_footer_widgets_structural_wrap( $output, $original_output ) { if ( 'open' == $original_output ) $output .= '<div class="wrap-inner">'; elseif ( 'close' == $original_output ) $output .= '</div>'; return $output; }
mmjaegerMemberThis reply has been marked as private.mmjaegerMemberanybody??
add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
does not get processed when I'm on a single view page of a CPT that uses the standard template like the posts do - on the post page, the filter gets processed.what am I missing here?
Thank you in advance for your input.
mmjaegerMemberthe post meta shows below the posts but not below the single entries of the custom post type???
-
AuthorPosts