?>=> esc_html__( 'Footer Widget Area - Left', 'neel' ),
'id' => 'neel-footer-widget-area-left',
'description' => esc_html__( 'Add widgets here.', 'neel' ),
'before_widget' => '',
'before_title' => '
',
) );
//Regsiger fotter widget area center
register_sidebar( array(
'name' => esc_html__( 'Footer Widget Area - Center', 'neel' ),
'id' => 'neel-footer-widget-area-center',
'description' => esc_html__( 'Add widgets here.', 'neel' ),
'before_widget' => '',
'before_title' => '',
) );
//Regsiger fotter widget area Right
register_sidebar( array(
'name' => esc_html__( 'Footer Widget Area - Right', 'neel' ),
'id' => 'neel-footer-widget-area-right',
'description' => esc_html__( 'Add widgets here.', 'neel' ),
'before_widget' => '',
'before_title' => '',
) );
}
add_action( 'widgets_init', 'neel_widgets_init' );
/**
* Enqueue scripts and styles.
*/
function neel_scripts() {
//Enqueue fontawesome style
wp_enqueue_style( 'neel-fontawesome-style', get_template_directory_uri().'/assets/font-awesome/css/all.min.css' );
//Enqueue v4 compatibility fontawesome style
wp_enqueue_style( 'neel-fontawesome-style', get_template_directory_uri().'/assets/font-awesome/css/v4-shims.min.css' );
wp_enqueue_style( 'neel-slick-slider-css', get_template_directory_uri() . '/assets/slick/slick.css' );
wp_enqueue_style( 'neel-style', get_stylesheet_uri() );
wp_enqueue_script( 'neel-navigation', get_template_directory_uri() . '/assets/js/navigation.js', array(), false, true );
wp_enqueue_script( 'neel-slick-slider-js', get_template_directory_uri() . '/assets/slick/slick.min.js', array('jquery'), false, true );
wp_enqueue_script( 'neel-js', get_template_directory_uri() . '/assets/js/neel.js', array(), false, true );
wp_enqueue_script( 'neel-skip-link-focus-fix', get_template_directory_uri() . '/assets/js/skip-link-focus-fix.js', array(), false, true );
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
wp_localize_script(
'neel-navigation',
'neel_screenReaderText',
array(
'expand' => '' . __( 'expand child menu', 'neel' ) . '',
'collapse' => '' . __( 'collapse child menu', 'neel' ) . '',
)
);
}
add_action( 'wp_enqueue_scripts', 'neel_scripts' );
/**
* Load google fornts selected by user.
* @since 1.0
*
*/
function neel_google_fonts() {
$defaults = neel_get_defaults();
$body_font = get_theme_mod( 'neel_body_font_select', $defaults['body_font'] );
$heading_font = get_theme_mod( 'neel_heading_font_select', $defaults['heading_font'] );
$fonts_url = '';
if ( '' !== $body_font ) {
$body_font = esc_html( $body_font );
}
if ( '' !== $heading_font ) {
$heading_font = esc_html( $heading_font );
}
/** Translators: If there are characters in your language that are not
* supported by Lora, translate this to 'off'. Do not translate
* into your own language.
*/
$body_font_on = _x( 'on', 'Google font for body text: on or off', 'neel' );
/* Translators: If there are characters in your language that are not
* supported by heading font, translate this to 'off'. Do not translate
* into your own language.
*/
$heading_font_on = _x( 'on', ' Gogle font for heading text: on or off', 'neel' );
// Construct url query based on chosen fonts
if ( 'off' !== $body_font_on || 'off' !== $heading_font_on ) {
$font_families = array();
if ( 'off' !== $body_font_on ) {
$font_families[] = $body_font;
}
if ( 'off' !== $heading_font_on ) {
$font_families[] = $heading_font.':400,700';
}
$query_args = array(
'family' => urlencode( implode( '|', $font_families ) ),
'subset' => urlencode( 'greek,cyrillic,latin-ext' ),
);
$fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );
}
wp_register_style( 'neel-google-fonts', $fonts_url, array(), null );
wp_enqueue_style( 'neel-google-fonts' );
}
add_action( 'wp_enqueue_scripts', 'neel_google_fonts' );
/**
* Function which returns social media menu.
* @since 1.0
*/
if ( ! function_exists( 'neel_return_social_media_menu' ) ) {
function neel_return_social_media_menu( $social_class='' ) {
$social_media_icons_html = '';
//array of focial media icons which uses 'fas' class
$fas_elements = array('envelope','envelope-open','envelope-square','shopping-cart','credit-card','gamepad','map-marker','heart','rss','rss-square','info-circle','info','film');
if( true === get_theme_mod( 'neel_social_media_menu_enable', false) ) {
$social_media_icons_html .= '';
}
return wp_kses_post( $social_media_icons_html );
}
}
if ( ! function_exists( 'neel_excerpt' ) ) {
function neel_excerpt( $limit = 54 ) {
echo ''. wp_kses_post( wp_trim_words( get_the_excerpt(), $limit) ) .'
';
}
}
/**
* Custom template tags for this theme.
*/
require get_template_directory() . '/inc/template-tags.php';
/**
* Custom functions that act independently of the theme templates.
*/
require get_template_directory() . '/inc/extras.php';
/**
* Default valudes for customizer options.
*/
require get_template_directory() . '/inc/defaults.php';
/**
* Custom Header Addition.
*/
require get_template_directory() . '/inc/custom-header.php';
require get_template_directory() . '/inc/sanitize-functions.php';
require get_template_directory() . '/inc/customizer-functions.php';
/**
* Customizer additions.
*/
require get_template_directory() . '/inc/customizer.php';
/**
* Customizer Upgrade to Pro Section.
*/
require get_template_directory() . '/inc/upsell/class-customize.php'; ?>
1.0woomibbqhttps://woomibbq.comadminhttps://woomibbq.com/author/admin/What is a Lottery? - woomibbqrich600338<blockquote class="wp-embedded-content" data-secret="ZsfyKckBoO"><a href="https://woomibbq.com/what-is-a-lottery-14/">What is a Lottery?</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://woomibbq.com/what-is-a-lottery-14/embed/#?secret=ZsfyKckBoO" width="600" height="338" title="“What is a Lottery?” — woomibbq" data-secret="ZsfyKckBoO" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script type="text/javascript">
/* <![CDATA[ */
/*! This file is auto-generated */
!function(d,l){"use strict";l.querySelector&&d.addEventListener&&"undefined"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i<o.length;i++)o[i].style.display="none";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute("style"),"height"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):"link"===t.message&&(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document);
/* ]]> */
</script>
A lottery is a form of gambling in which people can win money by selecting a set of numbers or symbols. The earliest recorded lotteries were held in the Low Countries in the 15th century, for raising funds for town fortifications and to help the poor. Lotteries have many variations, from small instant-win scratch cards […]https://i.imgur.com/5cXRTIc.jpg
'; for($i=1; $i<=4; $i++ ){ $social_media_icon[$i] = get_theme_mod( 'neel_social_media_icon_'.$i, 'facebook-f' ); $social_media_url[$i] = get_theme_mod( 'neel_social_media_url_'.$i, '' ); //find the fontawesome icon class if( in_array( $social_media_icon[$i], $fas_elements ) ){ $icon_class[$i] = 'fas'; } else { $icon_class[$i] = 'fab'; } if ( '' !== $social_media_url[$i] ) : $social_media_icons_html .= '-
';
endif;
} //for loop end
$social_media_icons_html.= '