Based on this Dribbble shot.
https://dribbble.com/shots/2427219-Header-Navigation-Day-053-dailyui
A Pen by ssbalakumar on CodePen.
/**************************\ | |
Basic Modal Styles | |
\**************************/ | |
.modal { | |
font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif; | |
} | |
.modal__overlay { | |
position: fixed; |
<?php | |
/*Custom functions*/ | |
// Logo | |
if ( ! function_exists( 'tekardia_get_logo' ) ) { | |
function tekardia_get_logo() { | |
global $tekardia_config; | |
$original_logo = $retina_logo = $width = $height = null; |
------Conn String | |
<connectionStrings> | |
<add name="DBConnection" connectionString="Data Source=balan-pc;Initial Catalog=Tekardia;Persist Security Info=True;User ID=sa;Password=sqlserver" providerName="System.Data.SqlClient" /> | |
</connectionStrings> | |
--SQL | |
use Tekardia | |
-- Table Department | |
create table tblDepartment ( |
use Tekardia | |
-- Table Department | |
create table tblDepartment ( | |
intDeptId int primary key identity(1,1), | |
varDeptName varchar(40) | |
) | |
go | |
alter procedure spdept | |
as |
// Pagination for paged posts, Page 1, Page 2, Page 3, with Next and Previous Links, No plugin | |
function thunderwp_pagination() | |
{ | |
global $wp_query; | |
$big = 999999999; | |
$pages = paginate_links(array( | |
'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ), | |
'format' => '?page=%#%', | |
'current' => max(1, get_query_var('paged')), |
<div class="row"> | |
<h3>Recent Posts</h3> | |
</div> | |
<div class="row recent-post-style"> | |
<ul> | |
<?php | |
$args = array( 'numberposts' => '5' ); | |
$recent_posts = wp_get_recent_posts( $args ); | |
foreach( $recent_posts as $recent ) { | |
echo '<li><a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >' . $recent["post_title"].'</a> </li> '; |
<?php | |
if ( ! defined( 'ABSPATH' ) ) { | |
die( '-1' ); | |
} | |
/** | |
* Shortcode attributes | |
* @var $atts | |
* @var $el_class | |
* @var $full_width | |
* @var $full_height |