WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Create custom plugin to change order of homepage? (4 posts)

  1. Baumr
    Member
    Posted 1 year ago #

    I'm new to them, but my WooTheme and WooCommerce are great so far.

    I would like to change the order of what appears on the homepage, right now:
    1. Categories
    2. Featured Products
    3. Recent Products
    4. Recent Blog Posts

    There is a guide on how to do it from WooThemes by using add_action and remove_action functions in the functions.php file. However, I can imagine that will get over-written every time there's a new update.

    So my question is:

    The documentation suggests creating a "custom plugin" — how do I do that?

    Thank you in advance.

    http://wordpress.org/extend/plugins/woocommerce/

  2. Baumr
    Member
    Posted 1 year ago #

    Anyone? Thanks.

    In short: what is a "custom plugin" and how do I create one to work with WooThemes and WooCommerce to change the order of homepage stuff?

  3. royho
    Member
    Posted 1 year ago #

    Creating a custom plugin means you need to have knowledge with PHP and WordPress plugin API in general...If you don't know the two terms I have just mentioned, chances are, you will not know how to build a custom plugin. So instead, try searching the plugin repo and see if there are existing plugins that can do what you want. And if not, the least resort is to hire a developer to do it for you.

  4. Baumr
    Member
    Posted 1 year ago #

    Thanks for that Royho!

    I am rather handy with PHP, but no experience with custom WordPress plugin API.

    What I want to do isn't so complicated, it required adding a few lines of: add_action and remove_action functions in the functions.php file.

    So creating a custom plugin for that shouldn't be too difficult?

    Am I right to assume that if I update my WooThemes theme, any changes I made to functions.php and other files will be overwritten?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.