[How to] Add Column Shortcodes to WordPress
WPAssist / Theme Development - January 23, 2024Adding Column Layout Shortcodes to Your WordPress Theme
Adding Column Layout Shortcodes to Your WordPress Theme
Admin bar is the dark bar with buttons to add content, and manage updates, comments. For regular users, this bar sometimes becomes confusing. To easily hide admin bar, add the following snippet to your functions.php file: function remove_admin_bar() { if (!current_user_can(‘administrator’) && !is_admin()) { show_admin_bar(false); […]
For some webdesign projects, you may need to prevent admin access for logged in users. To do so, simply paste following snippet to your functions.php file: function prevent_admin_access() { if ( false !== strpos( strtolower( $_SERVER[‘REQUEST_URI’] ), ‘/wp-admin’ ) && !current_user_can( ‘administrator’ ) ) wp_redirect( […]
You can use the remove_submenu_page function to remove updates menu from WordPress admin panel. Here is the snippet: add_action( ‘admin_init’, ‘wpse_38111’ ); function wpse_38111() { remove_submenu_page( ‘index.php’, ‘update-core.php’ ); } (ref: http://codex.wordpress.org/Function_Reference/remove_submenu_page)
Google Analytics Dashboard is a WordPress plugin that adds analytics graphs right on your WordPress dashboard. Apart from a dashboard widget, it also gives you ability to see your post view statistics separately, on your “All posts” screen. Installing & Setting Up Google Analytics Dashboard […]
.htaccess is a file used by Apache server, to over-write general rules for certain folders. Previously, we shared how to speed up your website using .htaccess file. With this post, we see there is more, awesome ways to manage your server rules and limits. Default […]
For some plugins you may need CSS styling to be changed, but if you change the plugin files, either you won’t update it, or you will lose your changes. I will show you a simple trick to overcome this problem using seperate stylesheets.
WordPress dashboard is a collection of tools that gives you quick acess to most used areas of your blog. It also acts as a feed reader for latest wordpress news and latest plugins.
Dropdown menu widget automatically generates pages and categories menus. While generating page menu, it uses Page Order specified on Add New Page screen.
Öncelikle site kök klasöründe wp-config.php dosyasını açın. define('WPLANG', ''); satırını define('WPLANG', 'tr_TR'); olarak değiştirin. Panelde Dashboard> Updates tıkladıktan sonra, Re-install seçeneğine tıklayın. Gerekliyse FTP bilgilerini soracaktır. Güncellemeden sonra WordPress kurulumunuz türkçe hale gelir.