Skip to content

fnpen/inline-block-editing-acf-free

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Install the plugin to WordPress

Open and edit template.php file

To enable incline editing add to container of field value:

<?php echo acf_content_editing('FIELD_NAME'); ?>

Example:

<?php

$user_name = get_field( 'user_name' );
$message = get_field( 'message' );
?>
<div class="block-testmonials-item">
	<div class="post-info">
		<div class="middle-area">
			<a class="name" href="#">
				<b <?php echo acf_content_editing('user_name'); ?> >
					<?php echo esc_html( $user_name ); ?>
				</b>
			</a>
		</div>
	</div>

	<p <?php echo acf_content_editing('message'); ?>><?php echo esc_html( $message ); ?></p>
</div>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published