Editing WP in HTML instead of PHP…
-
When I inspect source of a website via a browser it shows it me in HTML, but when it comes to actually editing the websites, all code is written in PHP so I can change custom buttons created.
Is there a way to just edit the webpage as HTML instead of PHP??
Example:
Button in header.php:
<?php if( get_field('options_remoteLogin', 'option') ) : ?> <a href="<?php the_field('options_remoteLogin', 'option') ?>" class="btn-login" target="_blank"><span class="glyphicon icon-Figure"></span> Get Support</a> <?php endif; ?>
In HTML:
<a href="https://example.com" class="btn-login" target="_blank"><span class="glyphicon icon-Figure"></span> Get Support</a> </div>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Editing WP in HTML instead of PHP…’ is closed to new replies.