• Resolved leondrs

    (@leondrs)


    Hello.

    I’m trying out the plugin and i want to ask the following.

    I’m using UI Press to give my client a custom dashboard but i need to add a Clear cache Button.

    When i press clear cache via the plugin it redirects me to the wp-admin page but i dont want that. I need it either to stay at the same page the user is in or redirect to a custom admin page i have created.

    Is it possible to do that somehow?

    Thanks a lot.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author webheadcoder

    (@webheadllc)

    Hi,

    You can create a button that calls the ‘ccfm-ajax-ccfm’ ajax function.

    zimenz

    (@zimenz)

    Hi.

    I’m using a similar setup (with UIPress) and i would also like for the user not to redirect to the wp-admin.

    Unfortunatly my knowledge is limited. Is there a way to help me add a button that calls the ‘ccfm-ajax-ccfm’ ajax function as you mentioned above?

    Thanks a lot

    Zack Pyle

    (@zackpyle)

    @webheadllc This didn’t used to happen, but when I click CCFM button in the admin bar from the frontend, it is redirecting to /wp-admin/?ccfm_success=1 now?

    Plugin Author webheadcoder

    (@webheadllc)

    Hi all,

    I’ll change the button to call the ajax function so it doesn’t redirect to wp-admin. Give me a few weeks though I’m a bit backed up right now.

    @zackpyle As for the admin bar redirecting, I’m not seeing that on my end. Can you check your browser’s dev console to see if you have some javascript errors that’s interfering with the link? It’ll only act link a regular link and redirect if the javascript can’t run.

    @webheadllc You’re right. It’s only happening on one or two of my sites and there are some js errors showing. ????

    Plugin Author webheadcoder

    (@webheadllc)

    The Clear Cache for Me button on the dashbaord now clears cache without refreshing the page.

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