Submit cf7 form to cfdb as pdf/BLOB [closed]

What I have learned is that the screen shot method is not really possible. So what I have done is used a method prescribed here using FPDF: https://wordpress.org/support/topic/convert-pdf-file The last post is most instructive. The problem with this method is that it is not conditional regarding the form and so some if statements needed to … Read more

append special url end of my website urls

its very likely that somewhere in your theme, perhaps in your navigation or footer, you are linking something like <a href=”https://wordpress.stackexchange.com/questions/254739/Contact-Us”> which will then link to the subdirectory. You need to find those issues and fix it with something like <a href=”https://wordpress.stackexchange.com/Contact-Us”> or <a href=”https://wordpress.stackexchange.com/questions/254739/<?php echo get_site_url(); ?>/Contact-Us”> Without seeing code, it’s hard to tell … Read more

Require Credits Footer

I believe (off of top of head) that theme authors cannot ‘force’ attribution code as part of the theme. The theme must allow for removal of the attributions. (Can’t find the doc standards for this at the moment.) You should be able to edit the theme code that shows the attribution, although that is not … Read more

Create an if statement based on page_id

You don’t need if (is_home) – the homepage doesn’t use page.php as a template, and you’re checking for page ID anyway, which the homepage shouldn’t match. To check what page you’re on you can use is_page() with the page ID. if(is_page(1111)) { display text 01; } elseif(is_page(2222)) { display text 02; }

JSON Object Value Show Undefine

You either need to tell jQuery that you expect a json response from the server: $(“#txt-cmt”).keypress(function(e) { if (e.which == 13) { var comment = $(this).val(); var message = { action: ‘show_comment’, user_message: comment }; $.post(ajaxUrl.url, message, function(data) { console.log(data.user_name); }, ‘json’); } }); or you need to parse the response as json with JSON.parse().