{"id":18688909,"date":"2025-10-21T06:58:52","date_gmt":"2025-10-21T06:58:52","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/no-shortcode-is-generated\/"},"modified":"2025-10-21T06:58:52","modified_gmt":"2025-10-21T06:58:52","slug":"no-shortcode-is-generated","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/no-shortcode-is-generated\/","title":{"rendered":"No shortcode is generated"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I installed the plugin, and added a PHP script, selecting &#8220;short code (Manual)&#8221; from the dropdown for Placement Method. but when I save the snipped, it reverts to &#8220;Automatic&#8221;, and no shortcode is generated (when i go to the snipped listing, the column &#8220;Snippet Placement&#8221; has nothing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">this is the code I have pasted:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php<br \/>require_once(\"conexion.php\");<br \/>require(\"paginacion.php\");<br \/>?&gt;<br \/>&lt;?php<br \/>$sql= \"SELECT * FROM decesos\";<br \/>$res=mysql_query($sql,$con);<br \/>$total = mysql_num_rows($res);<br \/>$pg = $_GET&#091;'page'];<br \/>$cantidad = 8;<br \/>$paginacion = new paginacion($cantidad, $pg);<br \/>$desde = $paginacion-&gt;getFrom();<br \/>$sql1= \"SELECT * FROM decesos LIMIT $desde,8\";<br \/>$res1=mysql_query($sql1,$con);<br \/>$url = \"despedidas.php?\";<br \/>$classCss = \"numPages\";\t<br \/>$back = \"&amp;laquo;Atras\";<br \/>$next = \"Siguiente&amp;raquo;\";<br \/>$paginacion-&gt;generaPaginacion($total, $back, $next, $url, $classCss);<br \/><br \/><br \/>\twhile($row = mysql_fetch_array($res1))<br \/>\t{<br \/>\t?&gt;<br \/>    &lt;tr height=\"80\"&gt;<br \/>    &lt;td&gt;<br \/>&lt;p align=\"center\" style=\"margin-bottom: -8px;\"&gt;&lt;img src=\"http:\/\/www.tanatoriossanantonio.com\/wp-content\/uploads\/2014\/06\/cruz.jpg\"; height=\"100\"; width=\"75\" \/&gt;&lt;\/p&gt;<br \/>    &lt;h3 align=\"center\" style=\"color:#900\"&gt;&lt;?php echo $row&#091;\"nombre\"];?&gt;&lt;\/h3&gt;<br \/>\t&lt;h5 align=\"center\"&gt;<br \/>\t&lt;?php<br \/>\techo $row&#091;\"fallecimiento\"];<br \/>    echo '&lt;br \/&gt;';<br \/>\techo $row&#091;\"confortado\"];<br \/>\techo \"&lt;br \/&gt;\";<br \/>\techo $row&#091;\"entierro\"];<br \/>\techo \"&lt;br \/&gt;\";<br \/>\techo $row&#091;\"tanatorio\"];<br \/>\techo \", sala n\u00aa:\";<br \/>\techo $row&#091;\"sala\"];<br \/>\t?&gt;<br \/>    &lt;div id=\"veresquela\" align=\"right\"&gt;<br \/>    &lt;a href=\"http:\/\/www.tanatoriossanantonio.com\/esq?id=&lt;?php echo $row&#091;\"id\"];?&gt;\" style=\"text-decoration:none; color:#999\"&gt;<br \/>    Ver esquela<br \/>    &lt;\/a&gt;<br \/>    &lt;\/div&gt;<br \/> &lt;div id=\"enviopesame\" align=\"left\"&gt;<br \/>    &lt;a href=\"http:\/\/www.tanatoriossanantonio.com\/envie-su-pesame\/\" style=\"text-decoration:none; color:#999\"&gt;<br \/>    Env\u00ede su p\u00e9same<br \/>    &lt;\/a&gt;<br \/>&lt;img style=\"margin-top:-10px; margin-bottom: 10px;\" src=\"http:\/\/www.tanatoriossanantonio.com\/wp-content\/uploads\/2014\/06\/sep-falecidos.jpg\" \/&gt;<br \/>    &lt;p \/&gt;<br \/>    &lt;\/div&gt;<br \/>    &lt;?php<br \/>\t}<br \/>\t?&gt;<br \/>    &lt;\/h5&gt;<br \/>    &lt;\/td&gt;<br \/>    &lt;\/tr&gt;<br \/>    &lt;\/table&gt;<br \/>    &lt;?php<br \/>$url = \"despedidas.php?\";<br \/>$classCss = \"numPages\";\t<br \/>$back = \"&amp;laquo;Atras\";<br \/>$next = \"Siguiente&amp;raquo;\";<br \/>$paginacion-&gt;generaPaginacion($total, $back, $next, $url, $classCss);<br \/>?&gt;<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-18688909","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18688909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18688909\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18688909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}