Does this plugin work with [php_everywhere]
-
Hi , I’m trying to use the php_everywhere plugin with yours. basically to add a reply with dynamic content. I’m not having good luck with this plugin. is there a better way to do this with FF alone?
[php_everywhere] plugin used to work before I updated to the previous version.
now it works but messes up the HTML and links and tags don’t render well.
before it was just perfect.I would really appreciate a hint on what is the best approach to avoid this issue. Don’t want to change FF for another plugin…
<div id="confirmation"> Hola [6]! Te envio en este mail todos los detalles que pediste sobre [75]. Me pondré en contacto a la brevedad para asesorarte de forma personalizada. [php_everywhere] <h1><?php echo get_post_field('post_title', [69]); ?></h1> <?php echo get_post_field('post_content', [69]); ?> <h2>Duración y Horarios</h2> <ul style="margin:0;padding:0;"> <li><p><span class="caja_info_titulo">Cursado: </span><?php the_field('cursado', [69]);?></p></li> <li><p><span class="caja_info_titulo">Modalidad: </span><?php the_field('modalidad',[69]);?></p></li> <li><p><span class="caja_info_titulo">Dictado: </span><?php the_field('dictado',[69]);?></p></li> <li><p><span class="caja_info_titulo">Duración: </span><?php the_field('duracion',[69]);?></p></li> <li><p><span class="caja_info_titulo">Inscripciones: </span><?php the_field('inscripcion',[69]);?></p></li> <h2>Profesores</h2> <?php $docentes = get_field('asignar_docentes', [69]); if( $docentes ): ?> <?php foreach( $docentes as $docentes ): ?> <?php $url_foto_docente = get_the_post_thumbnail_url( $docentes->ID, 'medium'); $post_id = $docentes->ID;// example post id $post_content = get_post($post_id); $content = $post_content->post_content; ?> <img style="width:50px;height:auto;display-inline-block;float:left;" src="<?php echo $url_foto_docente ?>"/> <h2> <?php echo get_the_title( $docentes->ID ); ?></h2> <?php echo do_shortcode( $content );?> <?php endforeach; ?> <?php endif; ?> [/php_everywhere] <a style="width:150px;background:#f93939;text-decoration:none; border-radius:4px;display:block;margin:auto;padding:10px; font-size:19px;color:#fff;font-weight:bold;" href="http://xxx.com/lumi/?add-to-cart=[69]">Comprar online</a> <a href="http://xxx.com/lumi/?p=[69]">Abrir en el sitio web</a> </div>
The topic ‘Does this plugin work with [php_everywhere]’ is closed to new replies.