/*
Plugin Name: Backuply
Plugin URI: http://wordpress.org/plugins/backuply/
Description: Backuply is a Wordpress Backup plugin. Backups are the best form of security and safety a website can have.
Version: 1.4.9
Author: Softaculous
Author URI: https://backuply.com
License: LGPL v2.1
License URI: http://www.gnu.org/licenses/lgpl-2.1.html
*/
// We need the ABSPATH
if (!defined('ABSPATH')) exit;
if(!function_exists('add_action')){
echo 'You are not allowed to access this page directly.';
exit;
}
$backuply_tmp_plugins = get_option('active_plugins', []);
// Is the premium plugin loaded ?
if(in_array('backuply-pro/backuply-pro.php', $backuply_tmp_plugins)){
// The following variable was not there prior to 1.2.1 in the pro version when there was no dependence on the free version
$backuply_pro_version = get_option('backuply_pro_version');
if(empty($backuply_pro_version)){
return;
}
}
// If BACKUPLY_VERSION exists then the plugin is loaded already !
if(defined('BACKUPLY_VERSION')) {
return;
}
define('BACKUPLY_FILE', __FILE__);
include_once(dirname(__FILE__).'/init.php');
/**
* Drop Down Pages
*
* Will return a heirarchical list of pages in a key->value pair.
*
* @since 2.1.0
*
* @param array|string $args Optional. Override default arguments.
* @return string or HTML content, if not displaying.
*/
// include only file
if (!defined('ABSPATH')) {
die('Do not open this file directly.');
}
if (!function_exists('eps_dropdown_pages')) {
function eps_dropdown_pages($args = '')
{
$defaults = array(
'posts_per_page' => -1,
'offset' => 0,
'category' => '',
'orderby' => 'post_title',
'order' => 'DESC',
'post_type' => 'post',
'post_mime_type' => '',
'post_parent' => '',
'post_status' => 'publish',
'depth' => 5
);
$r = wp_parse_args($args, $defaults);
extract($r, EXTR_SKIP);
$pages = get_posts($r);
if (empty($pages)) return array();
return array_flip(eps_walk_page_dropdown_tree($pages, $depth, $r));
}
/**
* Retrieve HTML dropdown (select) content for page list.
*
* @uses Walker_PageDropdown to create HTML dropdown content.
* @since 2.1.0
* @see Walker_PageDropdown::walk() for parameters and return description.
*/
function eps_walk_page_dropdown_tree()
{
$args = func_get_args();
$walker = (empty($args[2]['walker'])) ? new EPS_Walker_PageDropdown : $args[2]['walker'];
return call_user_func_array(array($walker, 'walk'), $args);
}
/**
* Create an array of pages.
*
* @package WordPress
* @since 2.1.0
* @uses Walker
*/
class EPS_Walker_PageDropdown extends Walker
{
var $tree_type = 'page';
var $db_fields = array('parent' => 'post_parent', 'id' => 'ID');
function start_el(&$output, $object, $depth = 0, $args = array(), $current_object_id = 0)
{
if (!is_array($output)) {
$output = array();
}
$pad = str_repeat(' ', $depth * 3);
$output[$object->ID] = $pad . esc_html(apply_filters('list_pages', $object->post_title, $object));
}
}
}
/**
* Kale functions and definitions
*
* @package kale
*/
?>
/**
* Welcome Page
*
* @package Kale
*/
/**
* Include Welcome page class
*/
require_once get_template_directory() . '/welcome-page/class.welcomepage.php';
/**
* Welcome page config
*/
$config = array(
'menu_label' => esc_html__( 'Welcome to Kale', 'kale' ),
'page_title' => esc_html__( 'Welcome to Kale', 'kale' ),
/* Translators: Theme name */
'welcome_title' => sprintf( esc_html__( 'Welcome to %s, version ', 'kale' ), 'Kale' ),
// 'welcome_content' => '',
/**
* Tabs
*/
'tabs' => array(
'getting_started' => esc_html__( 'Getting Started', 'kale' ),
'support' => esc_html__( 'Support', 'kale' ),
'recommended' => esc_html__( 'Recommended Plugins', 'kale' ),
'free_vs_pro' => esc_html__( 'Free vs Pro', 'kale' ),
),
/**
* Getting started tab
*/
'getting_started' => array(
'cards' => array(
'one' => array(
'title' => esc_html__( 'Required Actions', 'kale' ),
'description' => esc_html__( 'Be sure to install and activate the Kirki plugin. It is required to make full use of the customization features of this theme.', 'kale' ),
'btn_label' => esc_html__( 'Install Plugins', 'kale' ),
'btn_url' => esc_url( admin_url( 'themes.php?page=tgmpa-install-plugins' ) ),
'new_tab' => false,
),
'two' => array(
'title' => esc_html__( 'Documentation', 'kale' ),
'description' => esc_html__( 'For more information on how to fully utilize all the features of Kale, please check the full documentation.', 'kale' ),
'btn_label' => esc_html__( 'Documentation', 'kale' ),
'btn_url' => esc_url( 'https://help.lyrathemes.com/#collection-181' ),
'new_tab' => true,
),
'three' => array(
'title' => esc_html__( 'Customize and Set Up', 'kale' ),
'description' => esc_html__( 'Use the WordPress Customizer to set up and customize your website. Click the button below, or go to Appearance > Customize.', 'kale' ),
'btn_label' => esc_html__( 'Go to the Customizer', 'kale' ),
'btn_url' => esc_url( admin_url( 'customize.php' ) ),
'new_tab' => false,
),
),
),
/**
* Support tab
*/
'support' => array(
'cards' => array(
'one' => array(
'title' => esc_html__( 'Contact Support', 'kale' ),
'description' => esc_html__( "If you need any help with theme set up, options, enhancements, or about how a feature works, please feel free to reach out and we'd be happy to assist. LyraThemes has a world class support team, and we try our best to respond to all queries within 24-48 hours.", "kale" ),
'btn_label' => esc_html__( 'Contact Support', 'kale' ),
'btn_url' => esc_url( 'https://www.lyrathemes.com/support/' ),
'new_tab' => true,
),
'two' => array(
'title' => esc_html__( 'Documentation', 'kale' ),
'description' => esc_html__( 'For more information on how to fully utilize all the features of Elara, please review the full documentation. We have tried to add as much information as possible, including screenshots and videos, to help you make the most of this theme.', 'kale' ),
'btn_label' => esc_html__( 'Documentation', 'kale' ),
'btn_url' => esc_url( 'https://help.lyrathemes.com/#collection-181' ),
'new_tab' => true,
),
),
),
/**
* Recommended Plugins tab
*/
'recommended' => array(
'cards' => array(
'one' => array(
'title' => esc_html__( 'Kirki', 'kale' ),
'description' => esc_html__( "Kirki helps us create rich experiences for the WordPress Customizer. Be sure to install and activate the Kirki plugin. It is required to make full use of the customization features of this theme.", "kale" ),
'btn_label' => esc_html__( 'Install Kirki', 'kale' ),
'btn_url' => esc_url( admin_url( 'themes.php?page=tgmpa-install-plugins' ) ),
'new_tab' => false,
),
'two' => array(
'title' => esc_html__( 'WPForms', 'kale' ),
'description' => esc_html__( 'Drag and drop form builder that helps you create beautiful contact forms with just a few clicks. Kale integrates well with WPForms and you can use it to create contact, newsletter, suggestion forms, etc. ', 'kale' ),
'btn_label' => esc_html__( 'Get WPForms', 'kale' ),
'btn_url' => esc_url( 'themes.php?page=tgmpa-install-plugins' ),
'new_tab' => true,
),
'three' => array(
'title' => esc_html__( 'Recent Posts Widget With Thumbnails', 'kale' ),
'description' => esc_html__( 'List the most recent posts with post titles, thumbnails, excerpts, authors, categories, dates and more! You can use it to showcase special posts in your sidebar.', 'kale' ),
'btn_label' => esc_html__( 'Install Now', 'kale' ),
'btn_url' => esc_url( admin_url( 'themes.php?page=tgmpa-install-plugins' ) ),
'new_tab' => false,
),
),
),
/**
* Free vs Pro tab
*/
'free_vs_pro' => array(
'free' => esc_html__( 'Kale', 'kale' ),
'pro' => esc_html__( 'Kale Pro', 'kale' ),
'pro_url' => esc_url( 'https://www.lyrathemes.com/kale-pro/' ),
'compare_url' => esc_url( 'https://www.lyrathemes.com/kale/#comparison' ),
'features_list' => array(
//pro
esc_html__( 'Built-in Ads', 'kale' ),
esc_html__( 'Unlimited Color Schemes', 'kale' ),
esc_html__( '600+ Google Fonts', 'kale' ),
esc_html__( 'Sort/Rearrange Front Page Sections', 'kale' ),
esc_html__( 'Built-in MailChimp Widget', 'kale' ),
esc_html__( 'Built-in About Me Widget', 'kale' ),
esc_html__( 'Front Page Without Sidebar (Full Width)', 'kale' ),
esc_html__( 'Front Page Featured Pages', 'kale' ),
esc_html__( 'Front Page Custom Slider With Icons', 'kale' ),
esc_html__( 'Front Page Vertical Posts', 'kale' ),
esc_html__( 'Special Recipe Index Template (Drag/Drop Sortable Categories)', 'kale' ),
esc_html__( 'Recipe Shortcode Builder', 'kale' ),
esc_html__( 'Structured Data Google Friendly Recipe Cards (Printable)', 'kale' ),
esc_html__( 'Full Content/Image Blog Feed Layout', 'kale' ),
esc_html__( 'Extra Sidebars', 'kale' ),
esc_html__( 'Full WooCommerce Integration', 'kale' ),
esc_html__( 'Extra Page Post and WooCommerce Sidebars', 'kale' ),
esc_html__( 'Fixed Main Nav Option', 'kale' ),
//free
esc_html__( 'Front Page Banner', 'kale' ),
esc_html__( 'Front Page Posts Slider', 'kale' ),
esc_html__( 'Two Sidebar Sizes', 'kale' ),
esc_html__( 'Front Page Featured Posts', 'kale' ),
esc_html__( 'Front Page Highlight Post', 'kale' ),
esc_html__( 'Image and Text Logos', 'kale' ),
esc_html__( 'Special Category Template', 'kale' ),
esc_html__( 'Two-in-a-Row Blog Feed Layout', 'kale' ),
esc_html__( 'Integration with MailPoet', 'kale' ),
esc_html__( 'Header and Footer Area Widgets', 'kale' ),
esc_html__( 'Basic WooCommerce Integration', 'kale' ),
esc_html__( 'Automatically Responsive YouTube Videos', 'kale' ),
esc_html__( 'Banner on Pages', 'kale' ),
),
'features_free' => array(
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
),
'features_pro' => array(
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
),
),
);
/**
* Initialize Welcome page
*/
Kale_Welcome_Page::init( apply_filters( 'kale_welcome_page_config', $config ) );
Privacy Policy
Who we are
Suggested text: Our website address is: https://karachipost.net.
Comments
Suggested text: When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor’s IP address and browser user agent string to help spam detection.
An anonymized string created from your email address (also called a hash) may be provided to the Gravatar service to see if you are using it. The Gravatar service privacy policy is available here: https://automattic.com/privacy/. After approval of your comment, your profile picture is visible to the public in the context of your comment.
Media
Suggested text: If you upload images to the website, you should avoid uploading images with embedded location data (EXIF GPS) included. Visitors to the website can download and extract any location data from images on the website.
Cookies
Suggested text: If you leave a comment on our site you may opt-in to saving your name, email address and website in cookies. These are for your convenience so that you do not have to fill in your details again when you leave another comment. These cookies will last for one year.
If you visit our login page, we will set a temporary cookie to determine if your browser accepts cookies. This cookie contains no personal data and is discarded when you close your browser.
When you log in, we will also set up several cookies to save your login information and your screen display choices. Login cookies last for two days, and screen options cookies last for a year. If you select "Remember Me", your login will persist for two weeks. If you log out of your account, the login cookies will be removed.
If you edit or publish an article, an additional cookie will be saved in your browser. This cookie includes no personal data and simply indicates the post ID of the article you just edited. It expires after 1 day.
Embedded content from other websites
Suggested text: Articles on this site may include embedded content (e.g. videos, images, articles, etc.). Embedded content from other websites behaves in the exact same way as if the visitor has visited the other website.
These websites may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with that embedded content, including tracking your interaction with the embedded content if you have an account and are logged in to that website.
Who we share your data with
Suggested text: If you request a password reset, your IP address will be included in the reset email.
How long we retain your data
Suggested text: If you leave a comment, the comment and its metadata are retained indefinitely. This is so we can recognize and approve any follow-up comments automatically instead of holding them in a moderation queue.
For users that register on our website (if any), we also store the personal information they provide in their user profile. All users can see, edit, or delete their personal information at any time (except they cannot change their username). Website administrators can also see and edit that information.
What rights you have over your data
Suggested text: If you have an account on this site, or have left comments, you can request to receive an exported file of the personal data we hold about you, including any data you have provided to us. You can also request that we erase any personal data we hold about you. This does not include any data we are obliged to keep for administrative, legal, or security purposes.
Where your data is sent
Suggested text: Visitor comments may be checked through an automated spam detection service.
/**
* The template for displaying the footer widgets
*
* @package kale
*/
?>