Save
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
<?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
|
||||
*
|
||||
@@ -19,13 +27,11 @@
|
||||
*/
|
||||
// ** MySQL settings - You can get this info from your web host ** //
|
||||
/** The name of the database for WordPress */
|
||||
define('WP_CACHE', true);
|
||||
define( 'WPCACHEHOME', '/var/www/vhosts/doitinpoland.com/httpdocs/wp-content/plugins/wp-super-cache/' );
|
||||
define( 'DB_NAME', 'doitin131_baza1' );
|
||||
define( 'DB_NAME', 'host774759_doitinpoland' );
|
||||
/** MySQL database username */
|
||||
define( 'DB_USER', 'admindoitinpoland' );
|
||||
define( 'DB_USER', 'host774759_doitinpoland' );
|
||||
/** MySQL database password */
|
||||
define( 'DB_PASSWORD', '*eWd2ydz8bEXo4g0v' );
|
||||
define( 'DB_PASSWORD', 'beNdXEaqeJW6ubx4p4ZX' );
|
||||
/** MySQL hostname */
|
||||
define( 'DB_HOST', 'localhost' );
|
||||
/** Database Charset to use in creating database tables. */
|
||||
|
||||
@@ -292,19 +292,19 @@ $paged = ( get_query_var( 'paged' ) ? get_query_var( 'paged' ) : $page );
|
||||
|
||||
<!-- BLOG THUMB -->
|
||||
<?php if(has_post_thumbnail()){?>
|
||||
<div class="case-study-thumb ">
|
||||
<a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail(); ?>
|
||||
</a>
|
||||
<div class="case-study-thumb">
|
||||
<a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail(); ?></a>
|
||||
</div>
|
||||
<?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 -->
|
||||
<div class="em-cases-study-title ">
|
||||
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="case_category">
|
||||
<?php
|
||||
switch(get_the_title()){
|
||||
@@ -374,14 +374,12 @@ $paged = ( get_query_var( 'paged' ) ? get_query_var( 'paged' ) : $page );
|
||||
|
||||
<!-- Blog Description -->
|
||||
<?php if($show_content=='yes'){?>
|
||||
|
||||
<!-- BLOG TITLE AND CONTENT -->
|
||||
<div class="em-cases-study-inner ">
|
||||
<div class="cases-study-content ">
|
||||
<p><?php echo wp_trim_words( get_the_content(), 19, ' ' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?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');
|
||||
$(window).on('scroll', function () {
|
||||
|
||||
if ($(window).scrollTop() > 200) {
|
||||
if ($(window).scrollTop() > 50) {
|
||||
headers1.addClass('hbg2');
|
||||
} else {
|
||||
headers1.removeClass('hbg2');
|
||||
|
||||
@@ -341,11 +341,19 @@ add_filter('autoptimize_html_after_minify', function($content) {
|
||||
return $content;
|
||||
}, 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
|
||||
*/
|
||||
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