WordPress Multisite 1
Snippets
Ziyad Bachalany

Create a shortcode for the permalink of a WordPress article

I needed to create a shortcode that would allow me to display the link to a WordPress article. To do this, here is the code I added to my functions.php file: [code] add_shortcode( 'my_permalink', 'my_permalink' ); // The Permalink Shortcode function my_permalink() { ob_start(); the_permalink(); return ob_get_clean(); } [/code] And there was

Read more »
food delivery
Foodtech
Ziyad Bachalany

The Ultimate Guide to Opening a Restaurant and Making It Thrive

Opening a restaurant, increasing sales, and being profitable: here is the ultimate guide to success in the restaurant business, by a restaurateur with over 10 years of experience. This guide is a course that provides awareness of the challenges of the restaurant industry, the digitalization of the restaurant industry, and

Read more »

BuddyPress: how to remove rich text on xprofile text area

Here is a little trick for BuddyPress to remove the rich text functionalities of the editor from the xProfile text areas, like bio field for example. Add this custom code to bp-custom.php to disable the rich text: [code] /*———-*/ /* REMOVE rich text on xprofile text area /*———-*/ function antipole_remove_rich_text(

Read more »
en_US