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
// Example of obtaining a cookie (typically from a login endpoint) | |
fetch('http://localhost/api/v1/chatbot/chat', { | |
method: 'POST', | |
headers: { | |
'Content-Type': 'application/json' | |
}, | |
body: JSON.stringify({query: "hi - this is test one"}) | |
//body: JSON.stringify({email: "[email protected]", password: "12345!abcABC"}) | |
}) | |
.then(response => { |
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
// get editor meta | |
wp.data.select( 'core/editor').getEditedPostAttribute("meta"); | |
// get editor blocks | |
wp.data.select( 'core/editor').getEditorBlocks(); |
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
|
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 type="text/javascript">var submitted=false;</script> | |
<iframe name="hidden_iframe" id="hidden_iframe" style="display:none;" | |
onload="if(submitted) {window.location='whateveryourredirectis.html';}"></iframe> | |
<form action="YOUR-EMBEDDED-GOOGLE-SPREADSHEET-LINK" method="post" target="hidden_iframe" | |
onsubmit="submitted=true;"> |
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
// level 1 cats | |
var c1 = ["Africa", | |
"Antarctica", | |
"Asia", | |
"Australasia", | |
"Caribbean", | |
"Central America", | |
"Europe", | |
"Indian Ocean", | |
"Middle East", |
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
/* caping to min value - comma sep values - min */ | |
.test{ | |
margin-left: min(-16px, (100vw - 72ch) / -2); | |
} | |
/* full width from narrow parent */ | |
.fullwidth{ | |
width: 100dvw; | |
position: relative; | |
left: 50%; |
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 |
NewerOlder