September 2018

  • Or do you have other options for local server? They just release MAMP 5.1, with MySQL version update from 5.6 to 5.7.      Now they the free MAMP also get the PRO MAMP CLOUD features. Quite interesting features to try as i have problems to backup and manage all my apps databases.  What is…

    Baca catatan

  • Usually to remove any default items on Admin Menu Bar we can do as below function remove_items_wp_admin_bar(){ global $wp_admin_bar; //$wp_admin_bar->remove_menu(‘tribe-events’); $wp_admin_bar->remove_node(‘tribe-events’); $wp_admin_bar->remove_node(‘comments’); $wp_admin_bar->remove_node(‘new-content’); $wp_admin_bar->remove_node(‘site-name’); $wp_admin_bar->remove_node(‘wp-logo’); } add_action(‘admin_bar_menu’, ‘remove_items_wp_admin_bar’, 1000); But this technique sometimes does not remove any items / links that added by plugins and themes. So you should call using wp_before_admin_bar_render action as below. add_action(‘wp_before_admin_bar_render’,…

    Baca catatan

  • WordPress akan berubah. Sebenarnya WordPress sentiasa berubah. Sentiasa ada patches update. Hehehe. Tapi kali ni perubahan lebih besar. WordPress Gutenberg Aku ada perasan dalam 2,3 bulan lepas ada keluar notice pada dashboard berkaitan plugin Gutenberg. Tapi baru 2,3 hari lepas baru ada masa nak godek-godek apa dia WordPress Gutenberg ni. Nampak macam wordpress dah ada…

    Baca catatan

  • Berguna bila kita nak bagi public accout access wp-admin. Mungkin ada beberapa info yang tak perlu depa tau kita remove. Example #1 using remove_meta_box : add_action(‘wp_dashboard_setup’,’remove_dashboard_widgets”); function remove_jetpack(){ if ( ! current_user_can(‘manage_options’) ){ remove_meta_box( ‘dashboard_quick_press’,’dashboard’, ‘side’ ); //Quick Press widget remove_meta_box( ‘dashboard_recent_drafts’, ‘dashboard’, ‘side’ ); //Recent Drafts remove_meta_box( ‘dashboard_primary’, ‘dashboard’, ‘side’ ); //WordPress.com Blog remove_meta_box(…

    Baca catatan

  • Ok kali ni aku nak share port cendol terbaik pilihan anak tekak aku. Hahaha. Sudah tentu bukan aku sorang la, sekeluarga. Ada few tempat lain ok di Kuantan ni, nanti ada peluang aku buat la entry untuk port lain pulak ya.  So kedai cendol ini terletak di simpang masuk ke Jalan Air Puteh daripada Jalan…

    Baca catatan

  • Ada lagi ke yang guna device Garmin sekarang ni? Kalau takat user biasa yang ada smart phone tu semua dah pakat guna Waze atau Google Map je sekarang. In case kalau ada, kot la rider ka, cyclist ka… kalau tetiba korang cari official Garmin untuk update map Garmin korang to the latest version, boleh la…

    Baca catatan