- Click on
Posts
in the left hand menu. - Click the title of the post you would like to edit.
- Make your edits.
- Click the "Update" button near the top right hand corner.
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 if( !is_user_logged_in() ) : ?> | |
<form action="<?php echo site_url('wp-login.php?action=register', 'login_post') ?>" method="post"> | |
<input type="text" name="user_login" value="Username" id="user_login" class="input" /> | |
<input type="text" name="user_email" value="E-Mail" id="user_email" class="input" /> | |
<?php do_action('register_form'); ?> | |
<input type="submit" value="Register" id="register" /> | |
</form> | |
<?php else : echo 'You are already logged in.'; endif; ?> |
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
{ | |
"variants": { | |
"borderColor": ["responsive", "hover", "focus", "focus-within"] | |
} | |
} |
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 | |
/** | |
* Plugin Name: ACF Copy Repeater Field to Singular - docs_list_renew | |
* Version: 0.1 | |
* Description: Copies the values of the last row of a repeater field to separate custom fields to be used with Admin Columns | |
*/ | |
// Rename the second argument if you're going to copy the plugin to work with another repeater. | |
add_action('wp_insert_post', 'reddit_acf_copy_repeater_field_to_singular', 10); |
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
const mix = require('laravel-mix'); | |
require('laravel-mix-tailwind'); | |
/* | |
|-------------------------------------------------------------------------- | |
| Mix Asset Management | |
|-------------------------------------------------------------------------- | |
| | |
| Mix provides a clean, fluent API for defining some Webpack build steps | |
| for your Laravel application. By default, we are compiling the Sass |
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 if( have_rows('partners_logos', $acfw) ): ?> | |
<?php while( have_rows('partners_logos', $acfw) ): the_row(); ?> | |
<div class="col-md-6"> | |
<img src="<?php the_sub_field('logo', $acfw); ?>" alt="" class="img-responsive"> | |
</div> | |
<?php endwhile; ?> | |
<?php endif; ?> |
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 | |
/** | |
* @func acfw_location_rules | |
* Return an array of rules for use with register_field_group() 'location' key | |
* @param array $a | |
* @param str $param | |
* @param str $operator | |
* @param bool $extended | |
*/ | |
function acfw_location_rules( array $a, $param, $op, $extended = 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 | |
acf_form_head(); // Place this before wp_header(); | |
$options = array( | |
'post_id' => 'user_'.$current_user->ID, | |
'field_groups' => array($form_group_ID), // $form_group_ID is the post id of the form group to show. | |
'submit_value' => 'Update Profile' | |
); | |
echo '<p>Your username is <b>'.$current_user->user_login.'</b>. This cannot be changed.</p>'; | |
acf_form( $options ); // http://support.advancedcustomfields.com/forums/topic/front-end-and-custom-user-meta/ | |
?> |
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 | |
/** | |
* Plugin Name: Podcast Shortcode | |
* Description: Adds a shortcode to display your podcast count. <code>[podcast-count]</code> | |
* Version: 1.0 | |
* Author: Daron Spence | |
* Author URI: https://daronspence.com/ | |
* | |
* A simple shortcode to display the number of published podcasts on your site. Uses the `podcast` post type. | |
* |