Hi brother, thank you for your patience, see this simple code:
`<h1 style=”color: red; margin: 22px, width:200px;”>[my_fptitle] 24</h1>
Is on the about page, https://gesher.creativewebdesign123.com/about/
Title “An amazing title 66” is one place and the 24 is decorated somewhere else.
I did implement what you said there,
Like this?
// About us
ob_start();
function my_tabout_shortcode() {
$tabout = get_field('tabout', 'option');?>
<div class="tabout" id="tabout"><span> <?php echo $tabout; ?> </span></div>
<?php
}
add_shortcode( 'my_tabout', 'my_tabout_shortcode' );
return ob_get_clean();
Thank you for your time helping me.
Good point, here is the code to create the short code, the way we have it is that we made the option page, and from there editors will add the text. With the short code we will place it on the design website (this is about us), with its design, on the text editor (in this case (fusion builder), then theoretically it will display the text with the new look on the about us page. Right now, the text shows up on top of the content, and the design of it under it (without, ignoring any relation).
https://gesher.creativewebdesign123.com/about/
// About us
function my_tabout_shortcode() {
$tabout = get_field('tabout', 'option');?>
<div class="tabout" id="tabout"><span> <?php echo $tabout; ?> </span></div>
<?php
}
add_shortcode( 'my_tabout', 'my_tabout_shortcode' );
See for example,
<h2>[mytitle]</h2>
<h1 style=”color:red; margin:15px, width:200px”>[my_fptitle]</h1>
How did you make it happen? I am trying to make things work with shortcodes, I will place them in the design, so that the web owner WON”T break the site.
My short code is [acf field="contact"]
It will be inside the design of a box for example.
Thank you,
OH, I am sorry, one more. Is there a place I can see an editing panel. Like the widget area, ONLY for editors (not with extra settings, where editors won’t mess up settings that are important.
Is there a sample I can see please?
If we need help, is there a way you can help us more directly?
Thank you,
Please forgive me, I as one more time.
I am working on a site (about to start), and the owner is giving the client ability to edit the text, but only on an admin pane (to preserve the look of the site. The site is needs to have boxes with limiting the amount of text is imputed. Say, 300 characters per box. There may be 4 boxes on the front. In about us, may be 2, etc. I will need to have an admin page where all these pages get edited. Does this plugin do that?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.