Forum Replies Created
-
AuthorPosts
-
January 8, 2014 at 9:42 pm in reply to: Updating this conditional secondary navigation snippet #84109joyvMember
I would also love to know how to make this work if anyone could help.
ameeker, did you find a solution?
joyvMemberThank you so very, very much! I have learned a ton with the examples you have been able to provide.
Without your guidance we would have never figured this out! You are the bomb!
joyvMemberSorry, forgot to say what I am trying to do!
Product Description, Manufacturer, Product Dimensions, and Product Sku are all fields/Titles and if left blank I would like the title to not display. But how? I am lost.....
joyvMemberConditional logic is the cherry on top but I can't figure it out! boo
Can you take a look and point me in the right direction?
This is what I have.....
/** Add meta fields to single post type template */ add_action('genesis_before', 'dc_check_page_type'); function dc_check_page_type() { if ( is_single() ) { add_action('genesis_post_content', 'my_own_fields'); } } function my_own_fields () { echo '<div class="ecpt_meta">'; $junk1 = '<div class="ecpt_field_content">' . genesis_get_custom_field('ecpt_productdescription') . '</div>'; $junk2 = '<div class="ecpt_field_content">' . genesis_get_custom_field('ecpt_brandname') . '</div>'; $junk3 = '<div class="ecpt_field_content">' . genesis_get_custom_field('ecpt_product-dimensions') . '</div>'; $junk4 = '<div class="ecpt_field_content">' . genesis_get_custom_field('ecpt_skunumber') . '</div>'; echo '<div class="ecpt_field_name">' . 'Product Description:' . '</div>' . $junk1; echo '<div class="ecpt_field_name">' . 'Manufacturer: ' . '</div>' . $junk2; echo '<div class="ecpt_field_name">' . 'Product Dimensions: ' . '</div>' . $junk3; echo '<div class="ecpt_field_name">' . 'Product SKU: ' . '</div>' . $junk4; echo '</div>'; }
joyvMemberWorking on a slightly different approaching and wondering if any of you have done this.
The client's local mls provides the ability to export anxml feed daily of all listing (active, sold and inactive). Is there a way I can import the xml feed into agentpress?
joyvMemberThis reply has been marked as private.joyvMemberYOU ARE A GENIUS!!! Absolutely amazing and beautiful!
The conditional logic is the cherry on top 🙂
I have to say the best ppl are on the StudioPress forums!
joyvMemberDave,
I inserted the above code making sure to update with my field names and ensure that all underscores are in place. Previewed a single post page and the fields are not displaying 🙁
I would love to implement your solution but there is something I don't seem to understand or I am getting wrong.
joyvMemberThanks Dave! I'll give it a try.
joyvMemberWhich one are you using? There are a zillion on the market and the one StudioPress recommends doesn't seem to offer this and I am also not fond of how it displays photos of the property.
Thanks!
joyvMemberWith this particular style you can not apply it directly to the image as suedo classes (before & after) do not work the same as on a class/id in a div.
joyvMemberIs there an ETA on updating the Genesis Connect plugin for Woocommerce?
-
AuthorPosts