salocine
Forum Replies Created
-
Forum: Plugins
In reply to: [Etsy Shop] Mobile ResponsiveAdd this to the bottom of
etsy-shop/etsy-shop.css@media screen and (max-width: 640px) {
table.etsy-shop-listing-table, table.etsy-shop-listing-table tr,td.etsy-shop-listing {display: block!important; width: 100%!important;}
table.etsy-shop-listing-table{margin-top:40px;}
table.etsy-shop-listing-table tbody{display: block; width: 100%!important;}
.etsy-shop-listing-card{width: 100%!important;}
.etsy-shop-listing-card img{ width: 100%!important; height: auto!important;}
}Forum: Plugins
In reply to: [Custom Post Types and Custom Fields creator - WCK] Query using Custom fieldI am using version WCK Custom Fields Creator 1.0.4
I have edited a study (my CPT) and re-saved the values.
This is something that I am also worried about, I have 800+ Study already in the DB. Using your method, will I need to edit each of them and re-save for the values to be saved unserialized?will appreciate help/clarification
Forum: Plugins
In reply to: [Custom Post Types and Custom Fields creator - WCK] Query using Custom fieldHi madalin,
Thanks for coming back to me.
Doesn’t work for me.My Meta Box Meta name: StudyOptions (notice Capitals)
My field title is gender and is a radio with 2 options (Male,Female)I’ve added this above my query $args
add_filter( 'wck_cfc_unserialize_fields_studyoptions', 'wck_change_unserialize_arg' ); function wck_change_unserialize_arg( $bool ){ return true; }
and
$gender = $_GET["gender"]; $args = array( 'post_type' => 'study', 'posts_per_page' => $postperpage, 'post_status' => 'publish', 'orderby' => 'date', 'order' => 'DESC', 'meta_key' => 'studyoptions_gender_1', 'meta_value' => $gender, 'paged' => $paged );
without success (no results found).
$gender is passed properly (ie Male or Female).
The query works without the meta_key/valueForum: Plugins
In reply to: [Custom Post Types and Custom Fields creator - WCK] Query using Custom fieldOk, so I am trying to follow your example as
apply_filters( 'wck_cfc_unserialize_fields_'.$studyoptions, false ); add_filter( 'wck_cfc_unserialize_fields_studyoptions', 'wck_change_unserialize_arg' ); function wck_change_unserialize_arg( $bool ){ return true; } echo "Gender".$studyoptions_gender_1;
studyoptions being the Meta Name of my Meta Box Arguments
gender being the Field Title I needI am not having any luck…
Forum: Plugins
In reply to: [Custom Post Types and Custom Fields creator - WCK] Query using Custom fieldWill appreciate a response with my example.
I saw this post, https://www.ads-software.com/support/topic/sort-posts-by-custom-field-value-1?replies=3 but it doesn’t really make senseForum: Plugins
In reply to: [Breadcrumb NavXT] Duplicate since upgradeIt seems that the second destination in my example above, ie
Home > Destination > Destination > Franceis displaying the name of the custom post type instead of its title.
any help on this?