This file contains 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 // example of old loop grid in classic theme | |
<div class="cf"></div> | |
<div class="dnevne-objave"> | |
<?php query_posts( array ( 'category_name' => 'istaknuti', 'posts_per_page' => 12, 'paged' => $paged ) ); ?> | |
<?php while( $x <= 4 ) : the_post(); ?> | |
<div class="box <?php echo ( $x % 3 == 2 ) ? 'last' : ''; ?>"> | |
<a href="<?php the_permalink() ?>" rel="bookmark" class="pix"><?php the_post_thumbnail('dnevni', array('title' => '')); ?><div></div></a> |
This file contains 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
<h2>Run this in CMS .. somewhere create admin page with UL list of desired posts</h2> | |
<style> | |
ul,li{ list-style-type:none;margin:0;padding:0 } | |
iframe{width: 100%;min-height:32vh} | |
</style> | |
<ul style="grid-template-columns: repeat(4, minmax(0, 1fr));display: grid;"> | |
<li><iframe id="sub0" src="/wp-admin/post.php?post=129681&action=edit"></iframe></li> | |
<li><iframe id="sub1" src="/wp-admin/post.php?post=129682&action=edit"></iframe></li> | |
<li><iframe id="sub2" src="/wp-admin/post.php?post=129683&action=edit"></iframe></li> |
This file contains 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
Required Information | |
Required Information | |
1 | |
Program Policies & Agreements | |
Below are the Exam Terms and Conditions that are presented to all candidates during the exam registration process. During registration, candidates will click to accept all Exam Terms and Conditions. | |
No Shows, Cancellation, and Reschedule Policy | |
- If you do not show up for your exam, your exam fee is forfeited and you will not receive a refund. |
This file contains 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 to copy this structure - TO NEW DIRECTORY: | |
# slike1 | |
# ├── 12063DSC04233.JPG | |
# ├── 27454DSC04230.JPG | |
# └── sub1 | |
# ├── 15997DSC04140.JPG | |
# └── sub12 | |
# └── 25022DSC04150.JPG |
This file contains 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
{ | |
"$schema": "http://schemas.wp.org/trunk/theme.json", | |
"version": 2, | |
"settings": { | |
"layout": { | |
"contentSize": "750px" | |
}, | |
"color": { | |
"background": false, | |
"custom": false, |
This file contains 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 | |
// Define a constant to use with html emails | |
define("HTML_EMAIL_HEADERS", array('Content-Type: text/html; charset=UTF-8')); | |
// @email - Email address of the reciever | |
// @subject - Subject of the email | |
// @heading - Heading to place inside of the woocommerce template | |
// @message - Body content (can be HTML) | |
function send_email_woocommerce_style($email, $subject, $heading, $message) { |
This file contains 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
#CACHE | |
set $condition ''; | |
if ($request_method = POST){ | |
set $condition "null"; | |
} | |
if ($query_string) { | |
set $condition "null"; | |
} | |
if ($http_cookie ~* (comment_author|comment_author_|wordpress_logged_in|wp_woocommerce_session)) { | |
set $condition "null"; |
This file contains 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
// attach that to everywhere | |
add_action( 'template_redirect', function (){ | |
$w = new WP_Query( array( | |
'post__in' => array( 823, 817 ), | |
'post_type' => 'any' , | |
// 'posts_per_page' => 100, | |
// 'offset' => 400 | |
)); |
NewerOlder