Get primary menu
‘primary’,
‘items_wrap’ => ‘
‘
)
);
?>
WDES Responsive Tool 1 is a WordPress plug-in designed to provide mobile responsive solution for your websites. WDES Responsive Tool 1 helps your websites mobile friendly and much more reliable in mobile view.
Add sub-page using 1 page without adding another pages using add_rewrite_rule is very simple but clean strategy most specially if you have multiple sub-pages. Using add_rewrite_rule, your task is done. Please copy the codes to your functions.php. Example: I have this page, https://www.anthonypagaycarbon.com/parent/ and the page ID is 10. add_filter(‘query_vars’, ‘wdes_query_vars’); function wdes_query_vars($vars) { $vars[]…
Fatal error: Allowed memory size is showing if the default WordPress or hosting allocated memory is reach. In some case this can be fix via wp-config.php, php.ini, or .user.ini. If the error is still not fixed, better to contact your hosting provider and let them fix the error. This is my error: Using php.ini or…
Separated number in comma and decimal point using PHP or JS number format. Commonly used in the price format and number separator. Hopefully this can help you. PHP: Found this post https://www.w3schools.com/php/func_string_number_format.asp and the codes below is the sample usage of the PHP code. JS: Found this post https://gist.github.com/rd13/3924792 and the codes below is the…
Customize rtmedia gallery ( media-gallery-item.php ) with additional display like image, audio, video, etc. Are you having a problem adding custom information on the media gallery item? You don’t have to worry now, the codes below is the solution. In my example, I want to add an audio player and the same time this is…
WordPress media library upload restriction, just copy the code below to your functions.php Or install this plugin to do the task WDES User Upload Restriction – https://wordpress.org/plugins/wdes-user-upload-restriction/.