WordPress.org

Ready to get started?Download WordPress

Forums

Shopp SEO Glue
[resolved] Categories (29 posts)

  1. digitalsky
    Member
    Posted 2 years ago #

    Barry,

    I just wanted to let you know that while I am aware that this plugin does not currently support the 'Categories' post type, it kind of works.

    For instance, when I go to edit one of my Shopp categories the WordPress SEO meta boxes show up and they even save the data that I input into them. However, that data does not display on the actual category pages themselves.

    Just wanted to point this out to you for future versions of this plugin (if you intend to make any). Seems to me that if the meta boxes show up and save the data, that displaying it would probably be quite easy to do. I'm no PHP programmer or else I'd tackle it myself.

    Thanks!
    Chris

    http://wordpress.org/extend/plugins/shopp-seo-glue/

  2. Barry Hughes
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks Chris, that's interesting: on a test site running just Shopp, WP SEO, Shopp SEO Glue and a default theme I don't see any SEO metaboxes within the Shopp category editor, they only display on the product editor.

    (It's doubly interesting because Jon at Shopp insisted that the WP SEO metaboxes also display in the product editor without any need for tweaking the system, and he apparently is running Shopp 1.2.3 too ... )

    I'll probably be doing some work on the category side of things just to round this off but it might not be until the end of the week or early next week before I get round to it.

  3. digitalsky
    Member
    Posted 2 years ago #

    Barry,

    This is the darndest thing but you're right... WordPress SEO doesn't show up on categories in shop, I think I found the weirdest glitch ever.

    Go to one of your category landing pages, for instance, one of mine can be found here...

    http://www.pr-tech.com/shop/category/bird-diverters/

    Once you go there (make sure you're logged into your WordPress instance before you attempt this) use the little toolbar at the top of your browser and click the 'Edit Category' tab. You'll be taken to a page where you can edit the Category, but this page is different... It has the WordPress SEO meta boxes, they save data and everything.

    If you try to edit the Category any other way than what I mentioned you'll see it doesn't work.

    Isn't this bizarre?

  4. Barry Hughes
    Member
    Plugin Author

    Posted 2 years ago #

    That's interesting, I must look at this in more detail.

    Basically, the Shopp category is being viewed via the default WordPress category editor. Turns out, you can do something similar with products in the post editor.

    • Say the URL for Product X in the regular Shopp product editor is something like admin.php?page=shopp-products&id=X
    • You can open the same product in the normal post editor instead by using the URL post.php?post=X&action=edit (of course the various bells and whistles of the Shopp product editor are then absent, but the WP SEO metaboxes will still be present)

    Something of a leaky abstraction I guess.

  5. digitalsky
    Member
    Posted 2 years ago #

    Yes, I thought this was odd as well. Even more odd that no one has pointed this out yet.

    Interesting to know that you can do this with products as well!

  6. Barry Hughes
    Member
    Plugin Author

    Posted 2 years ago #

    Support for categories has been added (v1.2).

    Please report any issues!

  7. digitalsky
    Member
    Posted 2 years ago #

    Woohoo! I'll test it out and see if I find any issues! Thanks a million!

  8. Barry Hughes
    Member
    Plugin Author

    Posted 2 years ago #

    Great - any feedback appreciated :-)

  9. digitalsky
    Member
    Posted 2 years ago #

    I see they updated WordPress SEO to version 1.2.6 very recently. Has anyone tried it out to see if it works with Shopp SEO Glue?

  10. Barry Hughes
    Member
    Plugin Author

    Posted 2 years ago #

    Those are some fast iterations, WordPress SEO is now at 1.2.7!

    I just tested against Shopp SEO Glue and it seems to work without any notable issues for both products and categories.

  11. digitalsky
    Member
    Posted 2 years ago #

    Yep, I too can now officially confirm that it works with WordPress SEO 1.2.7!

  12. Barry Hughes
    Member
    Plugin Author

    Posted 2 years ago #

    (Marking this one as resolved as we now have category support in place.)

  13. dencreativeltd
    Member
    Posted 1 year ago #

    Hello... I've got wordpress 3.4.2, shopp 1.2.3 and glue 1.3 - I've got a meta description coming up under Yoast which is the 'SEO' description, then further down i have a meta description which is the 'category description' So a duplicate, only on category pages - anyone else have this or have a fix??

    Thanks!

  14. Barry
    Member
    Posted 1 year ago #

    What theme are you using? Does the same problem happen if you switch to Twenty Eleven (briefly)?

  15. dencreativeltd
    Member
    Posted 1 year ago #

    Hi Barry, just switched to 2011 theme and got the same problem...

  16. Barry
    Member
    Posted 1 year ago #

    Can you provide a URL so we can see the problem? Are you running any other plugins that might be impacting (ie, try disabling them)?

  17. dencreativeltd
    Member
    Posted 1 year ago #

    Hey Barry, is there any way I can PM you the dev site link?

    Plugins running:
    Wordpress SEO
    Shopp + campaign monitor
    Shopp SEO Glue
    - that's it.

    I've fixed it on the live site: http://www.dezeenwatchstore.com by using:


    // register filter callback
    add_filter('shopp_meta_description', 'shopp_meta_description_filter');

    // create filter function
    function shopp_meta_description_filter( $description ) {
    return '';
    }

    Cheers,
    Bill

  18. Barry
    Member
    Posted 1 year ago #

    Hi Bill, just to confirm - are you referring to the two descriptions generated by Yoast (see http://pastebin.com/Qzj9QUff for an example - the description appears twice here but I believe that is intentional) or something quite different - if it is something different, where is this second description appearing ... perhaps you could share the source via Pastebin or Gist?

    Shopp + campaign monitor

    And did you try disabling that one?

  19. dencreativeltd
    Member
    Posted 1 year ago #

    I did try deactivating that but to no avail. here is the pastebin link: http://pastebin.com/Y6Q46rAQ

    You'll see one

    <meta name="description" content=

    at the top that is the yoast one, then the category description coming up further down.

  20. Barry
    Member
    Posted 1 year ago #

    I can't see that paste, you've marked it as private.

  21. dencreativeltd
    Member
    Posted 1 year ago #

    Sorry, try again now,

  22. Barry
    Member
    Posted 1 year ago #

    OK, I see what you mean now - however, it isn't really anything to do with Shopp SEO Glue or even WordPress SEO.

    Assume for a second you aren't using my plugin or WordPress SEO: if you provide a description in the category editor then that is what Shopp uses it for, at least by default. So you've got two choices:

    • Do what you are doing now and filter it out - then you can use the category description as part of the visible output on the category page
    • Or, simply delete the description - then that additional meta tag will not be generated by Shopp
  23. Barry
    Member
    Posted 1 year ago #

    Just to add, I can see that adding your filter to Shopp SEO Glue could be useful; I'm just umming and ahhing over whether that is starting to add complexity to a plugin (Shopp SEO Glue) that is intended to be as simple and clean as possible; I really do believe the best solution is for there to be no Shopp SEO Glue at all and instead for WordPress SEO to integrate right off the bat.

  24. dencreativeltd
    Member
    Posted 1 year ago #

    Hi Barry, the way I see it is that if I'm using WordPress SEO then that is the meta description I would expect to appear in the page rather than anything else - it should take precedence. Your example is exactly why I'm using it like this - so I can use the Category Description as visible output on the page.

    Also agreed, in an ideal world WordPress SEO would have this all sorted and there'd be no need for the Glue! (thanks for Glue though - it sorted us out!)

  25. Barry
    Member
    Posted 1 year ago #

    Yeah ok, let's roll that in then. I'll try and push out a new version shortly with your filter enabled by default.

  26. Barry Hughes
    Member
    Plugin Author

    Posted 1 year ago #

    I've been a tad busy but will push this out with another change or two shortly.

  27. Barry Hughes
    Member
    Plugin Author

    Posted 1 year ago #

    1.4 released - it should fix the issue you raised dencreativeltd: thanks for your help!

  28. LSH8
    Member
    Posted 1 year ago #

    Hello,
    I am not sure if my problem is the same as described above, but I think it is.
    When I activate WordPress SEO and Shopp SEO glue, my product categories no longer show the products.
    Please help.
    Thanks,
    Leslie
    MyHorseBling.com

  29. Barry Hughes
    Member
    Plugin Author

    Posted 1 year ago #

    I don't think that is related; can you create a new thread for this and I'll try to take a look?

    With that said, I believe there are incompatibilities with the very latest version of WP SEO that may mean Shopp SEO Glue needs some maintenance work - so it could be that is partly responsible.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.