This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[data-prefix="projeler_archive"] [data-cards="simple"] .entry-card {position:relative; padding:0; overflow:hidden; border-radius:20px;} | |
[data-prefix="projeler_archive"] [data-cards="simple"] .entry-card .ct-image-container{margin:0;} | |
[data-prefix="projeler_archive"] [data-cards="simple"] .entry-excerpt {position:absolute; width:100%; height:100%; padding:60px 30px; top:0; left:100%; transition:.5s; color:var(--paletteColor5); background:var(--paletteColor3);} | |
[data-prefix="projeler_archive"] [data-cards="simple"] .entry-card:hover .entry-excerpt {top:0; left:0%;} | |
[data-prefix="projeler_archive"] [data-cards="simple"] .entry-title {position:absolute; bottom:0; padding:30px; margin:0; width:100%; background:linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);color:var(--paletteColor5);z-index:1;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Code snippet to reject login for admin/authors from the regular login url | |
* In this example, people who have edit_posts permission is require special url string to login | |
* The URL need to be: https://yourdomain.com/wp-login.php?salt=your_random_url_string | |
* For normal users they can login without the special salt | |
* But If author or admin try to login it will reject the authentication | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Name: YOURLS WordPress Widget | |
Description: A WordPress widget to display a YOURLS shorturl and QR code | |
Code URI: https://gist.github.com/joshp23/3f990e6ec36e24ba53985968bbfa89f1 | |
Author: Josh Panter | |
Author URI: https://unfettered.net | |
====================================================================== | |
This widget will create &/or fetch the existing short URL for a WordPress post from YOURLS, | |
provide a button to copy the short url, and optionally display a qrcode. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
By oooh boi - Elementor Tips and Tricks | |
This will create "triangles" custom shape divider on the | |
right-hand side of the column (vertical), and then crete | |
another one (horizontal) for mobile devices. | |
*/ | |
@media (min-width: 768px) { | |
selector:before { | |
content: ""; | |
position: absolute; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* MAGICAL CSS Rule */ | |
selector .elementor-container .elementor-row { | |
flex-wrap: wrap; | |
/* uncomment for columns alignment */ | |
/* justify-content: center; */ | |
} | |
/* Responsive Columns Alignment - Tablet */ | |
@media (min-width: 768px) and (max-width: 1024px) { | |
selector .elementor-container .elementor-row { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.fluent_form_18 .ff-el-form-check-label { | |
display: none; | |
} | |
.fluent_form_18 .ff-el-image-holder { | |
border: 2px solid #f8f8f8; | |
padding: 5px 5px 0; | |
} | |
.fluent_form_18 .ff-el-image-holder.ff_item_selected { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
"use strict"; | |
OB_ready(OB_doWhenReady); | |
function OB_doWhenReady() { | |
// localize everything | |
var ooohBoi = window.ooohBoi || {}; | |
// local scope variables | |
ooohBoi.prev_scroll_pos = window.scrollY || document.body.scrollTop; | |
ooohBoi.cur_scroll_pos; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'relevanssi_content_to_index', 'acfcdt_relevanssi_support', 10, 2 ); | |
add_filter( 'relevanssi_excerpt_content', 'acfcdt_relevanssi_support', 10, 2 ); | |
function acfcdt_relevanssi_support( $content, $post ) { | |
/** | |
* Approach A (recommended): Using SQL to minimise database queries during Relevanssi's indexing process. | |
*/ | |
global $wpdb; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$settings=array( | |
/* (string) Unique identifier for the form. Defaults to 'acf-form' */ | |
'id'=>'acf-form', | |
/* (int|string) The post ID to load data from and save data to. Defaults to the current post ID. | |
Can also be set to 'new_post' to create a new post on submit */ | |
'post_id'=>false, | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
listen [::]:80; | |
server_name domain.com; | |
autoindex off; | |
index index.php index.html; | |
root /srv/www/domain.com/public; |
NewerOlder