Skip to content

Instantly share code, notes, and snippets.

View md-shamir's full-sized avatar
🏠
Working from home

Md Shamir md-shamir

🏠
Working from home
View GitHub Profile
@md-shamir
md-shamir / admin.php
Created June 30, 2018 07:26 — forked from baptistebriel/admin.php
[WordPress] - Collection of WordPress Snippets
<?php
// Show something only if the user is logged / admin.
// To be used in the current theme files - front.
if (current_user_can('manage_options')){ ?>
<div class="work">
<div class="work_layer">
<div class="device-content row">
<div class="work_content right">
<span class="f_13 uppercase sub_title">Web</span>
@md-shamir
md-shamir / functions.php
Last active June 9, 2019 18:18
the_title
add_filter('the_title', function($post_title){
$title = ucwords($post_title);
return $title;});