topspin / topspin-wordpress

Topspin's Wordpress Integration
http://www.topspinmedia.com/
20 stars 11 forks source link

Please, allow the editor and excerpt for stores (and have it show in the loop, unless empty) #63

Closed Iva83 closed 11 years ago

Iva83 commented 11 years ago

I have entered the following into functions.php:

// Allow stores to have text above the items. add_post_type_support( 'store', 'editor' );

and the editor box popped up. However, whatever I add to it does not work. I assume that my little hack was not enough.

Meanwhile, I managed to get the templates to work, but from what I have figured out, your code is only replacing the WordPress loop.

A lot of us do need to have a note above the other items, perhaps also the excerpt, for search engine optimisation. This will be appreciated. Thank you.

ghost commented 11 years ago

Hi @Iva83 , please make sure your post type settings in the Topspin General Settings is "store". The plugin, by default, set's the default store post type is "topspin-store" to avoid conflicts with other third-party plugins that may be already using "store".

Iva83 commented 11 years ago

It IS called that way.

ghost commented 11 years ago

The plugin taps into the WordPress system to override the default content/excerpt with the offer's metadata to leverage the native functionality of WordPress. This is one of the major updates in version 4.0 that was widely requested.

If you want to add custom fields to the admin panel, we recommend installing the Magic Fields 2 plugin for WordPress to create additional custom fields areas and updating your custom template to pull from these new meta data.

Iva83 commented 11 years ago

As a theme developer, I'm doing all I can to steer away from plugins when something can be handled with the basic WordPress functions. It would make a lot of sense to allow the excerpt.

I will, of course, create the custom fields myself and pull data for the meta tag description from them, so users could share the store to Facebook and have some text to it; but this still doesn't look logical to me. So, my suggestion is still to make all of this work for an average Joe and not just us developers.

ghost commented 11 years ago

Thank you for the comment, we'll consider it for future versions. Or, because the plugin is open source, you can freely pull a fork and add it yourself! Then if we commit it, Topspin will actually pay you ($150 or $300 per commit, I believe) for the added feature!