Skip to content

Instantly share code, notes, and snippets.

View jahir07's full-sized avatar

Jahirul Islam Mamun jahir07

  • Dhaka, Bangladesh
View GitHub Profile
@AminulBD
AminulBD / swiperinit.html
Last active September 4, 2021 08:53
Swiper Initialization with data attribute and Animate.css integrate
<div id="content-carousel" class="content-carousel-widget" data-carousel="swiper">
<!--
You can use: data-items="5" for total items display in single page
data-autoplay="true" or "false" for autoplay.
data-loop="true" or "false" for looping the carousel
data-effect="fade" or "cube" for slide changing effects
data-direction="horizontal" or "vertical" for sliding direction
data-initlal="3" for for first active slide
data-center="true" or "false" for centerize slider
-->
@thierrypigot
thierrypigot / tp-tinymce-background-color.php
Created April 23, 2015 10:01
Add Background Color (Highlight) Option in WordPress Editor TinyMCE
<?php
/* Hook to init */
add_action( 'init', 'tp_editor_background_color' );
/**
* Add TinyMCE Button
*/
function tp_editor_background_color()
{
/* Add the button/option in second row */