Tdude
Forum Replies Created
-
Forum: Plugins
In reply to: [Accordion Blocks] aria-control removed in Gutenberg editorAh ok, you actually wrote what I meant in the code comment 🙂 Maybe I should have read the code and docs first. Thanks a bunch!
If I understand correctly by looking at your site, you want to create a “player list”. Go to your WordPress menu and under where it says Sportspress, choose players/player list, choose team and a few more parameters and you will probably get what you want. Sorry if I didn’t understand you correctly!
//T
Ahhh, updated my post after actually reading it now 🙂
You could probably do as per the instructions on https://github.com/ankitpokhrel/Dynamic-Featured-Image/wiki/Retrieving-data-in-a-themeI’ll try to install the plugin and get back to you.
/T
Hi!
I’m interested in the same. To begin with you probably need to turn off ajax on WPCF7 for testing. I’ve turned off everything in my current form in wp-config.php and added:
define('WPCF7_LOAD_CSS', false); define('WPCF7_LOAD_JS', false); define('WPCF7_AUTOP', false); // removes WP paragraphsWhen you’re done testing it might be a good idea to just add the css/js files to the actual page templates that contain forms. Check out http://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/
I’ll check back if I have any success with this, but haven’t got time for a few days.
Good luck,
TForum: Plugins
In reply to: [Contact Form 7] Bootstrap 3 Horizontal FormNo, you insert the code inside the WPCF7 main form field, where you create your form in the plugin’s WP-admin (wp-admin/admin.php?page=wpcf7).
The plugin’s form field (called “Form”) accepts plain html, but to make it work the form fields need to be coded with WPCF7 shortcode.
Read up on it here: http://contactform7.com/tag-syntax/
Forum: Plugins
In reply to: [Contact Form 7] adding markup where I don't want it to…?Hi!
Try removing the <p> -tags by adding this on a separate line in your wp-config.php (in your root catalog where you installed WordPress):
define( 'WPCF7_AUTOP', false );You can remove the WPCF7 JS and CSS by writing that instead of AUTOP (autoparagraph).
Good luck,
TForum: Plugins
In reply to: [Contact Form 7] Bootstrap 3 Horizontal FormCorrection: You should add it to the form’s ADMIN in WPCF7.
Forum: Plugins
In reply to: [Contact Form 7] Can't send any formsAh, so you possibly didn’t have the php sendmail activated on your server. That should probably make a visible error in Wpcf7, but I’m not sure.
Good luck and all the best from Stockholm,
TForum: Plugins
In reply to: [Contact Form 7] Can't send any formsHallo!
You seem to have set it up right. I get a “Danke schön” -message (without having selected any of the checkboxes). Maybe check the email address or your spam folder?
Tschüss,
TForum: Plugins
In reply to: [Contact Form 7] Bootstrap 3 Horizontal FormHi!
Just add your Bootstrap code to the WPCF7 form. Something like this:
<div class="form-group"> <label class="control-label" for="email">Your email</label> <div class="controls"> [email* email /50 id:email class:form-control class:input-md placeholder "YOUR EMAIL"] </div> </div>Note that you append several class declarations by just repeating the class:form-control class:input-md and so on.
Good luck!
/TForum: Plugins
In reply to: [Contact Form 7] Response in a Bootstrap modalHi!
Somewhere on the web I found this snippet which you could try pasting into the lower most formfield called “Additional settings” in WPCF7. You could probably elaborate on it and you need to have proper Bootstrap markup with a div id called something like the below #myModal. I hope it helps:
on_sent_ok: "jQuery('#myModal').modal('This is a response.')"Then there are these great tutorials:
http://code.tutsplus.com/tutorials/mini-guide-to-contact-form-7–wp-25086
http://xaviesteve.com/3298/wordpress-contact-form-7-hook-unofficial-developer-documentation-and-examples/Forum: Reviews
In reply to: [CP Contact Form with PayPal] Cripple wareThanks for the reply. You should probably check your screen dumps here for features that are not mentioned 😉
/T
Forum: Plugins
In reply to: [PayPal Framework] TutorialHmmm. Short tutorial? Examples? Anyone?
Would be nice to have for asessment if it’s worth pursuing.Best regards,
TForum: Fixing WordPress
In reply to: permalinks issue Warning: preg_match()Hi!
Having the same issue and after some googling, there’s always a fix. The error seems to come from a regexp library on Apache server and versions 5.2x of PHP. It seems WPSC (and possibly other plugins) may use a more modern regular expressions library/search than is allowed.
It sucks to have hundreds of google links point at your friendly urls, but you get dead pages… so I found this thread with a very temporary fix: http://ww.wp.xz.cn/support/topic/upgraded-wordpress-to-36-next-gen-gallery-no-longer-workds
In short, you could open your wp-includes/class-wp.php and on line 204 and 205 insert a “@” to turn off the regex error messages.
Original code:if ( preg_match("#^$match#", $request_match, $matches) || preg_match("#^$match#", urldecode($request_match), $matches) ) {New code:
if ( @preg_match("#^$match#", $request_match, $matches) || @preg_match("#^$match#", urldecode($request_match), $matches) ) {This fix won’t brake things that work, but you probably shouldn’t develop a plugin using it.
To really solve the problem, you should upgrade PHP to the latest version, but I know, your host sucks and won’t answer your requests, so don’t be a victim, change host!
All the best,
TForum: Plugins
In reply to: save post and custom field from front endOops. Tagging this “resolved” and bumping to coding/hacks.