5,991 reputation
11337
bio website markratledge.com
location Missoula, MT
age
visits member for 4 years, 8 months
seen 17 hours ago

Mar
15
comment Category links suddenly started giving 404 errors
@kaiser, Thanks, good idea. Updated mine; and noted the link in the accepted answer is dead.
Mar
12
comment Wordpress site URL changed; how to fix it without database access?
The methods I posted do not require database access.
Mar
11
comment How to get rid of Ellipsis on Woocommerce [Essential] Theme
Third party plugins and themes are off topic, they are better asked about at their developers' support routes.
Mar
11
comment Move Wordpress with changed name 'wp-content'
Third party plugins and themes are off topic, they are better asked about at their developers' sites.
Feb
25
comment How to Customize number of blog posts on first page?
Works fine for me on 4.1; the theme author should do a simple update to get rid of the "not updated in over two years" warning.
Jan
16
comment Change site url when moving site to another url?
@MZAweb: You're right, my mistake; update added.
Dec
17
comment add_action and remove_action if custom field exists
Thanks, good point, and I did that. Genesis also gives options where the breadcrumbs display (I added a screenshot to my question) as to archives, etc.
Dec
17
comment add_action and remove_action if custom field exists
Ah, that works! I didn't know enough to be able to describe what I was trying to do. I now see that the remove and add actions need to be in a separate function called first, before they are modified by customfield_breadcrumbs. Thanks for your patience.
Dec
17
comment add_action and remove_action if custom field exists
@PatGilmour, thanks, but there is no Yoast involved.
Dec
17
comment add_action and remove_action if custom field exists
@Milo, the breadcrumbs are already enabled by the core Genesis breadcrumb function; I need to unhook them and rehook my own bredcrumb function customfield_breadcrumbs if a custom field exists. That's why I'm trying remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); add_action('genesis_before_loop', 'customfield_breadcrumbs'); inside the if statement.
Dec
16
comment add_action and remove_action if custom field exists
customfield_breadcrumbs needs to get called after remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
Dec
16
comment add_action and remove_action if custom field exists
@Milo, thanks, well, that's maybe why I'm asking the quesiton :) I don't why adding that action where it is right now doesn't work.
Dec
16
comment add_action and remove_action if custom field exists
Interesting, I don't know. I just added to my question the core breadcrumb function from Genesis for reference; there are no priority calls in it. So I need a priority?
Dec
16
comment add_action and remove_action if custom field exists
Rarst, thanks, see edited quesiton. I get the corect values for $post and $crumb But the if statement doesn't remove_action and add_action.
Nov
28
comment WooCommerce Total # orders
@wordpress_designer: "Gramps?" To me, that's a compliment :)
Nov
27
comment Issues with forcing HTTPS
VelvetBlue is good, but that won't change links in files like functions.php, etc; they are files and are not the database. And yes, a slideshow that pulls an ad like that is bad news.
Nov
26
comment WooCommerce Total # orders
@wordpress_designer: Please get a life. Somewhere.
Nov
26
comment WooCommerce Total # orders
@wordpress_designer: Read the FAQ for the site, follow the rules here, or don't participate.
Nov
24
comment WooCommerce Total # orders
@wordpress_designer: what's your point?
Nov
24
comment WooCommerce Total # orders
Third party plugins and themes are off topic here.