PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

if plugin page

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

hi, is there a simple way to check if im on woof seo page in php?

and a 2nd question. customer can filter by colour, brand, shape etc. when im on the seo filter page inside the loop i wish to check what attribute is used for filter, fore xample full question would be to:

 

  • if on seo filter page
  • => if attribute used brand (pa_brand)
  • ==>do this

Hello

Unfortunately, I didn't understand your question.

on woof seo page in php? - Please describe in more detail what you mean.

i want to write a snippet that will be executed on seo friendly pages. is there any way i can check if current page is created by woof filter and is enabgled in seo url?

Hello

You can use this hook  - woof_seo_do_index - https://c2n.me/4lafVTu.png

 

if  ($do_index == true && woof()->is_isset_in_request_data(woof()->get_swoof_search_slug()){

//the SEO rule works and there is a search query

}

thanks and can i get what attribute is currently filtered?

3 filter on page:

  • color
  • brand
  • size

 

if customer uses only pa_brand (product attribute) then echo"Brands"

Hello

The third parameter in the filter is the current search query.