[Support request] Small bug in your theme

Home Forums Support Small bug in your theme

  • This topic has 3 replies, 2 voices, and was last updated 10 months ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1077060
    Daniele

    Wanting to insert a new element, in hook in after_archive_title, this is still positioned in after_archive_description. I hope this problem is solved, I would like to place a button under the title of my category and tag archive pages..

    Thanks,
    Daniele

    #1077091
    David
    Staff
    Customer Support

    Hi there,

    the archive description is hooked into the after_archive_title hook with a Priority of 10. So you simply need to set the Priority to a lower value eg. 5 to position an element before the description.

    #1077192
    Daniele

    Perfect! Setting the value 5, the element has gone right to the point! Thanks David!

    Daniele:)

    #1077711
    David
    Staff
    Customer Support

    Glad to be of help 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.