This question already has an answer here:
- How can I get useful error messages in PHP? 41 answers
Tried many ways to get this code to work from a php file :
<a class="fancybox"
href="#contact_form_pop">Create seller account</a>
<div class="fancybox-hidden">
<div id="contact_form_pop"><?php echo do_shortcode("[contact-form-7 id="1452" title="Contact form 1"]"); ?></div>
What i want is the above code to replace code used in the DIV, but i cannot get it to work:
if( $screen == 'ads' ){
?>
<div class="text-center author-no-listing">
<a href="<?php echo esc_url( add_query_arg( 'screen', 'new', $author_url ) ) ?>”>
<i class="aficon-plus-circle"></i>
</a>
<h5><?php esc_html_e( 'Offer your product/service by submitting your first advert', 'adifier' ) ?></h5>
</div>
<?php
}
Is this possible?