Skip to content

Instantly share code, notes, and snippets.

View ashlie-elizabeth-moore's full-sized avatar
🦉
Night-Owl Mode

Elizabeth Moore ashlie-elizabeth-moore

🦉
Night-Owl Mode
View GitHub Profile
@ashlie-elizabeth-moore
ashlie-elizabeth-moore / gist:0515812d5d85c01818920e5baa52570a
Created March 17, 2026 02:30
Override Basic ACF Shortcode and add your preferred Attributes
//Custom ACF Shortcode Attributes
remove_shortcode('acf');
add_shortcode('acf', function($atts) {
$atts = shortcode_atts([
'field' => '',
'post_id' => null,
'format_value' => true,
'format' => 'raw', // change default format/output of shortcode
'url' => '',
'orderby' => '', //See below for option settings
/*Horizontal Navigation*/
.hor-nav{
display: flex;
align-content: center;
justify-content: center;
text-align: center;
}
/*Horizontal Navigation*/
.hor-nav ul{
list-style-type: none;
@ashlie-elizabeth-moore
ashlie-elizabeth-moore / gist:5b089b4112f145c6ffec82605958d8e4
Created November 15, 2025 03:02
Wordpress - Multiple Drop Downs as a Header Menu (Desktop)
/*Main Menu - Desktop -----------> */
.main-nav {
display: flex;
align-items: center;
justify-content: center;
gap: 0;
padding: 0;
margin: 0;
z-index: 99999;
background-color: var(--color_base)
@ashlie-elizabeth-moore
ashlie-elizabeth-moore / gist:7c74e9bb92bd6e8ceec235a924f344a6
Created March 22, 2024 21:29
Show HTML Code without executing it
<div><pre><code class="language-html">
&lt;
Add Code here without the outer angle brackets
&gt;
</code></pre></div>
@ashlie-elizabeth-moore
ashlie-elizabeth-moore / gist:a02907a65216e302430730552879b0a0
Last active March 22, 2024 23:43
Growtix/LEAP Schedule iframe code with ACF shortcode for url
<iframe src="[acf field='sched_url' name='Guest Schedule']?schedule_embed=true&iframe=true" width="100%" height="600" frameborder="0"></iframe
@ashlie-elizabeth-moore
ashlie-elizabeth-moore / gist:7856312c24837c700265a4db62eb9276
Created January 24, 2024 01:42
Using an ACF Field as a URL in html code
This is a sentance <a title="linkage" href="[acf field='unique_url' post_id='options' ]">with a link.</a>
/* --- Mobile Logo & Icons Fix --->> */
/** #bschead - assign to section | #nav - assign to menu module **/
@media only screen and (max-width: 980px){ #bschead.et_pb_fullwidth_section>.et_pb_module:not(.et_pb_post_content):not(.et_pb_fullwidth_post_content) .et_pb_row{
margin: 0px;
padding: 2%;
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
User-agent: *
Disallow: [/path/to/private/page.html]
Disallow: [/another/private/directory/]
User-agent: [user-agent-name]
Disallow: /
# Add more user-agents as needed
<?php echo do_shortcode('[shortcode]'); ?>
@ashlie-elizabeth-moore
ashlie-elizabeth-moore / gist:a29147d70657f8521a38775a20aadec3
Created July 2, 2022 00:02
Fix: Wordpress Posts Gallery using Divi Builder Gallery
<style>
ul.et_post_gallery.clearfix{
padding: 5% 0 !important;
margin: 0px !important;
display: flex;
flex-wrap: wrap;
width: 100%;
align-items: center;
justify-content: center;
}