Save
This commit is contained in:
@@ -1,4 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
//Begin Really Simple SSL session cookie settings
|
||||||
|
@ini_set('session.cookie_httponly', true);
|
||||||
|
@ini_set('session.cookie_secure', true);
|
||||||
|
@ini_set('session.use_only_cookies', true);
|
||||||
|
//END Really Simple SSL cookie settings
|
||||||
|
define( 'WP_CACHE', true );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The base configuration for WordPress
|
* The base configuration for WordPress
|
||||||
*
|
*
|
||||||
@@ -19,13 +27,11 @@
|
|||||||
*/
|
*/
|
||||||
// ** MySQL settings - You can get this info from your web host ** //
|
// ** MySQL settings - You can get this info from your web host ** //
|
||||||
/** The name of the database for WordPress */
|
/** The name of the database for WordPress */
|
||||||
define('WP_CACHE', true);
|
define( 'DB_NAME', 'host774759_doitinpoland' );
|
||||||
define( 'WPCACHEHOME', '/var/www/vhosts/doitinpoland.com/httpdocs/wp-content/plugins/wp-super-cache/' );
|
|
||||||
define( 'DB_NAME', 'doitin131_baza1' );
|
|
||||||
/** MySQL database username */
|
/** MySQL database username */
|
||||||
define( 'DB_USER', 'admindoitinpoland' );
|
define( 'DB_USER', 'host774759_doitinpoland' );
|
||||||
/** MySQL database password */
|
/** MySQL database password */
|
||||||
define( 'DB_PASSWORD', '*eWd2ydz8bEXo4g0v' );
|
define( 'DB_PASSWORD', 'beNdXEaqeJW6ubx4p4ZX' );
|
||||||
/** MySQL hostname */
|
/** MySQL hostname */
|
||||||
define( 'DB_HOST', 'localhost' );
|
define( 'DB_HOST', 'localhost' );
|
||||||
/** Database Charset to use in creating database tables. */
|
/** Database Charset to use in creating database tables. */
|
||||||
|
|||||||
@@ -292,96 +292,94 @@ $paged = ( get_query_var( 'paged' ) ? get_query_var( 'paged' ) : $page );
|
|||||||
|
|
||||||
<!-- BLOG THUMB -->
|
<!-- BLOG THUMB -->
|
||||||
<?php if(has_post_thumbnail()){?>
|
<?php if(has_post_thumbnail()){?>
|
||||||
<div class="case-study-thumb ">
|
<div class="case-study-thumb">
|
||||||
<a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail(); ?>
|
<a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail(); ?></a>
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<div class="em-cases-study-content ">
|
<div class="em-cases-study-content">
|
||||||
|
<a href="<?php the_permalink(); ?>" class="em-cases-study-content-link"></a>
|
||||||
|
|
||||||
<!-- BLOG TITLE -->
|
<!-- BLOG TITLE -->
|
||||||
<div class="em-cases-study-title ">
|
<div class="em-cases-study-title ">
|
||||||
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
|
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="case_category">
|
<div class="case_category">
|
||||||
<?php
|
<?php
|
||||||
switch(get_the_title()){
|
switch(get_the_title()){
|
||||||
case 'Nokia':
|
case 'Nokia':
|
||||||
{
|
{
|
||||||
echo '<span>Finland</span>';
|
echo '<span>Finland</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'SoftServe':
|
case 'SoftServe':
|
||||||
{
|
{
|
||||||
echo '<span>Ukraine / USA</span>';
|
echo '<span>Ukraine / USA</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'Microsoft Corporation':
|
case 'Microsoft Corporation':
|
||||||
{
|
{
|
||||||
echo '<span>USA</span>';
|
echo '<span>USA</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'Mynavi Corporation':
|
case 'Mynavi Corporation':
|
||||||
{
|
{
|
||||||
echo '<span>Japan</span>';
|
echo '<span>Japan</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'Striped Giraffe':
|
case 'Striped Giraffe':
|
||||||
{
|
{
|
||||||
echo '<span>Germany</span>';
|
echo '<span>Germany</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'DPDGroup IT Solutions':
|
case 'DPDGroup IT Solutions':
|
||||||
{
|
{
|
||||||
echo '<span>France</span>';
|
echo '<span>France</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'Atlassian':
|
case 'Atlassian':
|
||||||
{
|
{
|
||||||
echo '<span>Australia</span>';
|
echo '<span>Australia</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'ICEYE':
|
case 'ICEYE':
|
||||||
{
|
{
|
||||||
echo '<span>Poland / Finland</span>';
|
echo '<span>Poland / Finland</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'TomTom':
|
case 'TomTom':
|
||||||
{
|
{
|
||||||
echo '<span>The Netherlands</span>';
|
echo '<span>The Netherlands</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'Equinix, Inc.':
|
case 'Equinix, Inc.':
|
||||||
{
|
{
|
||||||
echo '<span>USA</span>';
|
echo '<span>USA</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'Kitopi':
|
case 'Kitopi':
|
||||||
{
|
{
|
||||||
echo '<span>UAE</span>';
|
echo '<span>UAE</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'Intetics':
|
case 'Intetics':
|
||||||
{
|
{
|
||||||
echo '<span>USA</span>';
|
echo '<span>USA</span>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Blog Description -->
|
<!-- Blog Description -->
|
||||||
<?php if($show_content=='yes'){?>
|
<?php if($show_content=='yes'){?>
|
||||||
|
|
||||||
<!-- BLOG TITLE AND CONTENT -->
|
<!-- BLOG TITLE AND CONTENT -->
|
||||||
<div class="em-cases-study-inner ">
|
<div class="em-cases-study-inner ">
|
||||||
<div class="cases-study-content ">
|
<div class="cases-study-content ">
|
||||||
<p><?php echo wp_trim_words( get_the_content(), 19, ' ' ); ?></p>
|
<p><?php echo wp_trim_words( get_the_content(), 19, ' ' ); ?></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1,47 @@
|
|||||||
/*# sourceMappingURL=custom.css.map */
|
.single_case_study .cyber-single-cases-study .em-cases-study-content {
|
||||||
|
transition: background 250ms ease-in-out;
|
||||||
|
}
|
||||||
|
.single_case_study .cyber-single-cases-study .em-cases-study-content:hover {
|
||||||
|
background: #f7f9fe;
|
||||||
|
}
|
||||||
|
.single_case_study .cyber-single-cases-study .em-cases-study-content:hover .em-cases-study-title h2 a {
|
||||||
|
color: #bf2222;
|
||||||
|
}
|
||||||
|
.single_case_study .cyber-single-cases-study .em-cases-study-content .em-cases-study-content-link {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-middle #custom_html-2 span {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
.footer-middle #custom_html-2 a i {
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: #fff;
|
||||||
|
background: #bf2222;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.kc-multi-icons-wrapper .multi-icons-link.multi-iconsfa.fa-x-twitter::before {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
i.fa.fa-twitter::before {
|
||||||
|
content: "\e61b" !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
i.sl-social-twitter::before {
|
||||||
|
content: "\e61b" !important;
|
||||||
|
font-family: "FontAwesome";
|
||||||
|
font-style: inherit;
|
||||||
|
display: inline-block;
|
||||||
|
text-rendering: auto;
|
||||||
|
speak: none;
|
||||||
|
font-weight: normal;
|
||||||
|
}/*# sourceMappingURL=custom.css.map */
|
||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":[],"names":[],"mappings":"","file":"custom.css"}
|
{"version":3,"sources":["custom.scss","custom.css"],"names":[],"mappings":"AAEE;EACC,wCAAA;ACDH;ADGG;EACC,mBAAA;ACDJ;ADIM;EACC,cAAA;ACFP;ADOG;EACC,kBAAA;EACA,QAAA;EACA,UAAA;ACLJ;;ADaE;EACC,cAAA;EACA,kBAAA;ACVH;ADaG;EACC,WAAA;EACA,YAAA;EACA,oBAAA;EACA,mBAAA;EACA,uBAAA;EACA,WAAA;EACA,mBAAA;EACA,kBAAA;ACXJ;;ADmBE;EACC,wBAAA;AChBH;;ADsBC;EACC,2BAAA;ACnBF;;ADuBC;EACC,2BAAA;EACA,0BAAA;EACA,mBAAA;EACA,qBAAA;EACA,oBAAA;EACA,WAAA;EACA,mBAAA;ACpBF","file":"custom.css"}
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
.single_case_study {
|
||||||
|
.cyber-single-cases-study {
|
||||||
|
.em-cases-study-content {
|
||||||
|
transition: background 250ms ease-in-out;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: #f7f9fe;
|
||||||
|
.em-cases-study-title {
|
||||||
|
h2 {
|
||||||
|
a {
|
||||||
|
color: #bf2222;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.em-cases-study-content-link {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-middle {
|
||||||
|
#custom_html-2 {
|
||||||
|
span {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
i {
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: #fff;
|
||||||
|
background: #bf2222;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.kc-multi-icons-wrapper {
|
||||||
|
.multi-icons-link.multi-iconsfa.fa-x-twitter {
|
||||||
|
&::before {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
i.fa.fa-twitter {
|
||||||
|
&::before {
|
||||||
|
content: '\e61b' !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
i.sl-social-twitter {
|
||||||
|
&::before {
|
||||||
|
content: '\e61b' !important;
|
||||||
|
font-family: 'FontAwesome';
|
||||||
|
font-style: inherit;
|
||||||
|
display: inline-block;
|
||||||
|
text-rendering: auto;
|
||||||
|
speak: none;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -171,7 +171,7 @@
|
|||||||
var headers1 = $('.trp_nav_area');
|
var headers1 = $('.trp_nav_area');
|
||||||
$(window).on('scroll', function () {
|
$(window).on('scroll', function () {
|
||||||
|
|
||||||
if ($(window).scrollTop() > 200) {
|
if ($(window).scrollTop() > 50) {
|
||||||
headers1.addClass('hbg2');
|
headers1.addClass('hbg2');
|
||||||
} else {
|
} else {
|
||||||
headers1.removeClass('hbg2');
|
headers1.removeClass('hbg2');
|
||||||
|
|||||||
@@ -341,11 +341,19 @@ add_filter('autoptimize_html_after_minify', function($content) {
|
|||||||
return $content;
|
return $content;
|
||||||
}, 10, 1);
|
}, 10, 1);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Include font-awesome
|
||||||
|
*/
|
||||||
|
function cyber_enqueue_font_awesome() {
|
||||||
|
wp_enqueue_style( 'font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css' );
|
||||||
|
}
|
||||||
|
add_action( 'wp_enqueue_scripts', 'cyber_enqueue_font_awesome' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Include custom.css with max priority
|
* Include custom.css with max priority
|
||||||
*/
|
*/
|
||||||
function cyber_enqueue_custom_css() {
|
function cyber_enqueue_custom_css() {
|
||||||
wp_enqueue_style( 'cyber-custom', get_template_directory_uri() . '/assets/css/custom.css', array(), null, true );
|
wp_enqueue_style( 'cyber-custom', get_template_directory_uri() . '/assets/css/custom.css', array(), null );
|
||||||
}
|
}
|
||||||
add_action( 'wp_enqueue_scripts', 'cyber_enqueue_custom_css', 999 );
|
add_action( 'wp_enqueue_scripts', 'cyber_enqueue_custom_css', PHP_INT_MAX );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user