Hit enter to search or ESC to close
A Weblog of Priyank Maniar
  • Blog
wordpressWordPress Core Functions

WordPress function wp_check_filetype

Retrieves the file type from the file name. Official Docs Can we pass the URL instead of a filename as the first parameter? Yes.
priyankmaniar
priyankmaniarAugust 5, 2020
iOSQuirks

How to avoid/remove the Safari call option for your website on mobile?

There is a very simple solution to this. I found it on StackOverflow. <meta name="format-detection" content="telephone=no"> That's it! Source If you happen to use Divi.…
priyankmaniar
priyankmaniarJuly 30, 2020
wordpress

How to Skip the WordPress Logout page confirmation?

The following solution worked for me in order to skip the WordPress logout page confirmation. The WordPress logout page shows when we redirect the user…
priyankmaniar
priyankmaniarJuly 29, 2020
Divi

How to have a sticky or a fixed header on mobile?

The following code helped me with getting a sticky header on the mobile device. /******************* * FIXED HEADER ON MOBILE * * SOURCE: https://divilife.com/create-fixed-mobile-menu-divi/ *…
priyankmaniar
priyankmaniarJuly 29, 2020
Divi

How to Change DIVI’s default pagination text?

You may want to change the default pagination text provided by DIVI - Older entries to something else. Following CSS will help you achieve just…
priyankmaniar
priyankmaniarJuly 25, 2020
wordpressCPTCPT UI

How to remove the custom post type name (CPT) from the URL/Slug?

My usecase was I was having a link domain.com/tutors/tutor-name. The tutors is cpt and the tutor-name is the slug. Desired output was domain.com/tutor-name. The following…
priyankmaniar
priyankmaniarJuly 16, 2020
Woocommerce

WooCommerce: Show variation Price at a different place

I have a form on the product single page. The price was showing in between of the attributes and the custom form fields. I wanted…
priyankmaniar
priyankmaniarJuly 7, 2020
wordpress

WordPress dynamic URL for the detail page

When we save a record for a CPT the slug is already created, it also takes care of the URL being unique. We just need…
priyankmaniar
priyankmaniarJune 16, 2020
Laravel

The page has expired due to inactivity

I faced this error when Twilio was trying to send a POST request to our server and the server said - The page has expired…
priyankmaniar
priyankmaniarJune 15, 2020
UncategorizedVue

Vue V-for with number instead of Array

Yep that does it. item.score is a number not an Array.
priyankmaniar
priyankmaniarJune 6, 2020
Previous 1 2 3 4 … 10 Next

© 2021 A Weblog of Priyank Maniar.

  • Blog