• Resolved coinlegend

    (@coinlegend)


    Hello, is there a way to put my search plugin shortcode within a certain shop category, so that the search bar can appear within the category.

    I was told by the plugin author that it can be achieved by editing theme category archive file? How do I do that?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi there @coinlegend

    • Are you referring to a product category template, rather than the category template that comes with Twenty Twenty? The two are different things. The category template that comes with Twenty Twenty drives the display of blog post categories. On the other hand, a product category template would only drive the display of your shop’s product categories.
    • Which e-commerce plugin are you using?

    Twenty Twenty does not come with any e-commerce or product templates, so you’d need to follow your e-commerce plugin’s instructions to create one, and add it to a child theme. Hopefully they have some documentation on how to create product category templates. ?? If you tell me which plugin you’re using I could do a bit of poking around to see if I can find you some instructions at their end.

    Thread Starter coinlegend

    (@coinlegend)

    Thank you for the clarification, I was just trying to add ivory search into a certain woocommerce category page, and was wondering if there is an easy way to do so.

    Thank you

    I was just trying to add ivory search into a certain woocommerce category page, and was wondering if there is an easy way to do so.

    Hi @coinlegend are you able to share a link to the category page you want to add the search block to?

    Thread Starter coinlegend

    (@coinlegend)

    Thank you, the problem has been solved.

    Moderator Kathryn Presner

    (@zoonini)

    @coinlegend Glad to hear! Feel free to share your solution in case it helps others in the future.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘theme category archive file edit’ is closed to new replies.