function social_account($network)
{
    return site_meta($network, null);
}
function twitter_account()
{
    return site_meta('twitter', 'J_se_h');
}
function twitter_account()
{
    return site_meta('twitter', '@aravindanve');
}
Exemple #4
0
function twitter_account()
{
    return site_meta('twitter', '_craigchilds');
}
function twitter_account()
{
    return site_meta('twitter', 'bozielonka');
}
                ?>
" content="<?php 
                echo $value;
                ?>
" />
<?php 
            }
        }
    }
}
/**
 * Check if Gumroad is enabled and if it is then add the Gumroad script
 */
function site_enable_purchase()
{
    if (!DISABLE_GUMROAD) {
        site_script('https://gumroad.com/js/gumroad.js', true);
    }
}
// Set Defaults
// default site description
site_description('Designing <strong>Professional WordPress Themes</strong> since 2007.');
// default site title
site_title('Pro Theme Design - WordPress Themes and Plugins');
// default site page header title
site_header_title('Pro Theme Design');
// default site og:type
site_meta('og:type', 'website');
// default site scripts
site_script('https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js');
site_script(js_path('main.min.js'));
Exemple #7
0
<?php

// Enable content-aware coloring
$primary = empty(article_title()) ? site_meta('primary', 'indigo') : str_replace('-', '_', color(article_title()));
$accent = empty(article_title()) ? site_meta('accent', 'pink') : str_replace('-', '_', accent(article_title()));
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?php 
echo page_title('Page can’t be found');
?>
 - <?php 
echo site_name();
?>
</title>

    <!-- Include Roboto font -->
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">
    <!-- Include Material Icons -->
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
    <!-- Include Material Design Lite -->
    <link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.4/material.<?php 
echo $primary;
?>
-<?php 
echo $accent;
?>
.min.css">
    <script type="text/javascript" src="https://storage.googleapis.com/code.getmdl.io/1.0.4/material.min.js"></script>
Exemple #8
0
function email_account()
{
    return site_meta('email-account');
}
Exemple #9
0
        echo menu_name();
        ?>
</a></li>
					<?php 
    }
    ?>
					<li><a href="#" title="Search..." data-target="#search"><span class="glyphicon glyphicon-search"></span></a></li>
				</ul>
			</div>
			<?php 
}
?>
		</nav>
	</header>
	<?php 
if (site_meta('sidebar', 1) && page_title("") != "List") {
    ?>
	<aside>
		<p class="description">
			<?php 
    echo site_description();
    ?>
		</p>
		<?php 
    $items = Query::table(Base::table('posts'))->where('status', '=', 'published')->get();
    $previousMonth = "";
    $page = Registry::get('posts_page');
    ?>
		<div id="previousPosts">
		<?php 
    for ($i = count($items) - 1; $i >= 0; $i--) {
Exemple #10
0
    ?>
			<p>Looks like you have some writing to do!</p>
		<?php 
}
?>

		<?php 
if (has_pagination()) {
    ?>
		<ul class="pager">
			<li class="previous"><?php 
    echo posts_prev();
    ?>
</li>
			<li class="next"><?php 
    echo posts_next();
    ?>
</li>
		</ul>
		<?php 
}
?>
	</main>
<?php 
if (site_meta('sidebar', 1)) {
    echo "</div>";
}
?>

<?php 
theme_include('partial/footer');
Exemple #11
0
            </div>

            <div class="col-md-4">
                <div class="sidebar">
                    <?php 
theme_include("sidebar");
?>
                </div>
            </div>
        </div>
    </div>

    <div class="footer container-fluid">
        <div class="container">
            <p class="text-center copyright"><?php 
echo site_meta('copyright');
?>
</p>
            <p class="text-center copyright-theme">
                <a href="https://github.com/95jonpet/anchor-blue">Anchor Blue Theme</a>
                by
                <a href="http://95jonpet.se/">95jonpet</a>
            </p>
        </div>
    </div>

    <script src="<?php 
echo theme_url('/js/bootstrap.min.js');
?>
"></script>
Exemple #12
0
        $introsecondpart = site_meta('introsecondpart_en');
        $introthirdpart = site_meta('introthirdpart_en');
        $biofirstpart = Registry::get('biofirstpart_en');
        $biosecondpart = Registry::get('biosecondpart_en');
        $biothirdpart = Registry::get('biothirdpart_en');
        for ($i = 0; $i < count($team); $i++) {
            $team[$i]->data['teammemberjob'] = $team[$i]->data['teammemberjob_en'];
        }
        $knowmore = "Learn more";
        $ourteam = "Our Team";
        $accessbooks = "Access to books";
        $catchPhrase = $catch['catchphrase_en'];
        $contactus = "Contact us";
        $testyourself = "Test yourself";
        $bookappointment = "Book an appointment";
        $publisherinfo = "Publisher informations";
        $legalnotices = "Terms and conditions";
        $credits = "Credits";
        $siteplan = "Site map";
        $socialnetworks = "Social networks";
        $address1 = site_meta('address1_en');
        $address2 = site_meta('address2_en');
        $mail = site_meta('mail_en');
        $telNumber = site_meta('telnumber_en');
        $dossierbigtitle = "Study and information <br>in andrology.";
        $masculintitle = "Male problem";
        $feminintitle = "Female problem";
        break;
    default:
        break;
}
Exemple #13
0
function vapor_header_image_url()
{
    $header = site_meta('header_image');
    if ($header != '' || $header != NULL) {
        return full_url(site_meta('header_image'));
    } else {
        return full_url(theme_url('/assets/img/vapor_logo.png'));
    }
}
    if (!empty($theme) && ($theme_data = themes_get($theme))) {
        $themes = get_theme_data();
        site_title($theme_data['name'] . ' WordPress Theme');
        site_description($theme_data['short_description']);
    } else {
        Flight::notFound();
    }
    site_popover(true);
    site_meta('twitter:card', 'product');
    site_meta('og:type', 'product');
    site_meta_image(image_path('devices/' . $theme_data['image']));
    if (!empty($theme_data['url-wporg'])) {
        site_meta('og:price:amount', str_replace('$', '', $theme_data['price-wporg']));
        site_meta('og:price:currency', 'USD');
        site_meta('twitter:data1', $theme_data['price-wporg']);
        site_meta('twitter:label1', 'Price');
    }
    site_enable_purchase();
    Flight::render('theme.php', array('theme' => $theme_data, 'theme_name' => $theme, 'themes' => $themes));
});
/**
 * Themes
 */
Flight::route('/themes/(@tag)/', function ($tag = '') {
    if (empty($tag)) {
        $tag = 'wordpress.org';
    }
    $themes = themes_by_tag($tag);
    if (!$themes) {
        Flight::notFound();
    }
Exemple #15
0
function twitter_account()
{
    return site_meta('twitter', 'danoxide');
}
Exemple #16
0
?>
">
    <meta name="twitter:description" content="<?php 
site_description('', true);
?>
">
    <meta name="twitter:url" content="https://prothemedesign.com<?php 
echo path(ltrim(Flight::request()->url, '/'));
?>
">

    <!-- Open Graph data -->
    <meta property="og:title" content="<?php 
site_title();
?>
">
    <meta property="og:url" content="https://prothemedesign.com<?php 
echo path(ltrim(Flight::request()->url, '/'));
?>
">
    <meta property="og:description" content="<?php 
site_description('', true);
?>
">
    <meta property="og:site_name" content="Pro Theme Design">
    <meta property="fb:admins" content="507302231">

<?php 
site_meta_image();
site_meta();
function twitter_account()
{
    return site_meta('twitter', 'idiot');
}
            echo menu_name();
            ?>
								</a>
							</li>
	            <?php 
        }
    }
    ?>
	            <?php 
    if (site_meta('twitter_account')) {
        ?>
	              <li class="site-menu__list-item"><a class="site-menu__item-link" href="<?php 
        echo site_meta('twitter_url');
        ?>
">@<?php 
        echo site_meta('twitter_account');
        ?>
</a></li>
	            <?php 
    }
    ?>
						</ul>
					<?php 
}
?>
						<ul class="site-menu">
							<li class="site-menu__list-item--heading">Categories <i class="fa fa-folder-open"></i></li>
							<?php 
while (categories()) {
    ?>
							<li class="site-menu__list-item">