Skip to content

Instantly share code, notes, and snippets.

View ahmedeshaan's full-sized avatar

Ahmed Eshaan ahmedeshaan

View GitHub Profile
<div class="wp-social-box">
<h3>Xpert Optin Option</h3>
<form class="optin-form" method="post">
<div class="width-70">
<label for="title">On Page Load</label>
<input type="checkbox" name="block_one" value="onloadValue"></input>
</div>
<div class="width-70">
<label for="block_one_position">Select</label>
(function($) {
$( "#sortable" ).sortable({
placeholder: "portlet-placeholder ui-corner-all",
revert: true
});
$( ".draggable" ).draggable({
connectToSortable: "#sortable",
helper: "clone",
<?php
/*
Plugin Name: Xpert Feature
Plugin URI: http://themexpert.com/wordpress-plugins/xpert-team
Version: 1.0
Author: ThemeXpert
Authro URI : http://www.themexpert.com
Description: Supercharge your WordPress team plugin
License: GPLv2 or later
Text Domain: xf
<?php
/*
Plugin Name: Xpert Feature
Plugin URI: http://themexpert.com/wordpress-plugins/xpert-team
Version: 1.0
Author: ThemeXpert
Authro URI : http://www.themexpert.com
Description: Supercharge your WordPress team plugin
License: GPLv2 or later
Text Domain: xf
<?php
/*
Plugin Name: Starter Team
Plugin URI: http://www.themeum.com
Description: Starter Team Post Type Plugins
Author: Themeum
Version: 1.0.0
Author URI: http://www.themeum.com
*/
(function() {
tinymce.PluginManager.add('tx_tinymce_button', function( editor, url ) {
editor.addButton( 'tx_tinymce_button', {
title: 'My test button',
icon: 'icon dashicons-wordpress-alt',
onclick: function() {
editor.windowManager.open( {
title: 'Insert Your Shortcode',
body: [
# If the Joomla site is installed within a folder such as at
# e.g. www.example.com/joomla/ the robots.txt file MUST be
# moved to the site root at e.g. www.example.com/robots.txt
# AND the joomla folder name MUST be prefixed to the disallowed
# path, e.g. the Disallow rule for the /administrator/ folder
# MUST be changed to read Disallow: /joomla/administrator/
#
# For more information about the robots.txt standard, see:
# http://www.robotstxt.org/orig.html
#
# If the Joomla site is installed within a folder such as at
# e.g. www.example.com/joomla/ the robots.txt file MUST be
# moved to the site root at e.g. www.example.com/robots.txt
# AND the joomla folder name MUST be prefixed to the disallowed
# path, e.g. the Disallow rule for the /administrator/ folder
# MUST be changed to read Disallow: /joomla/administrator/
#
# For more information about the robots.txt standard, see:
# http://www.robotstxt.org/orig.html
#
<?php
if ( ! empty( $title ) ) {
echo $args['before_title'] . apply_filters( 'widget_title', $title ). $args['after_title'];
}?>
<?php $id = uniqid("slider") ?>
<div class="row">
<div id="<?php echo $id; ?>" class="col-md-12">
<div class="tx_ticker">
<?php $query = new WP_Query( array('cat'=> $cat, 'posts_per_page'=>$posts_count) ); ?>
<?php while($query->have_posts()): $query->the_post(); ?>
.tooltip {
position: absolute;
z-index: 1030;
display: block;
font-size: 11px;
line-height: 1.4;
opacity: 0;
filter: alpha(opacity=0);
visibility: visible;