jbx
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] How to change borders color ? Please !All the elements in the form, including the form itself have a specific class.
The form has the CSS class
wpcf7-form. If you use Chrome’s developer tools ‘Inspect Element’ feature, or similarly Firefox Firebug you would be able to see each element in your form and what CSS class it has (starts withwpcf7-). In your theme’s CSS file you can then change borders, backgrounds, fonts or whatever you want.Forum: Plugins
In reply to: [Contact Form 7] Why is Contact Form 7 inserting p tags around my fields?@takayuki Thanks, I was setting it in the functions.php file and it needs to be in wp-config.php. It worked now.
Would be good if it was possible to put it in functions.php because this is something presentation related, and would be good to have control over it from the theme rather than the global wordpress config.
@aibrean The reason I used
<input>directly instead of[submit]is because the latter was adding stuff I didn’t want, like that animated gif, which was breaking all the padding of my design.Forum: Plugins
In reply to: [Regenerate Thumbnails] Regen a single post thumbs ?Isn’t this an issue with the WordPress Media library rather than this plugin?
What if you just use the Search facility (top right) in the WordPress Media Library? The WordPress Media Library also has an ‘Uploaded To’ column which shows you the post to which the image was uploaded to.
You can also install a plugin like Crop Thumbnails or Post Thumbnail Editor which allow you to crop the thumbnail as you want, from within the Post itself rather than the media library.
Nevermind! Just realised there is a specific section precisely for that in the advanced admin settings. Also documented here, for anyone who is looking for it:
http://wp-events-plugin.com/documentation/optimization-recommendations/
Cheers!
Forum: Plugins
In reply to: [Facebook] Comment box adds extra height whitespace in mobile versionYes, I filed it here too in fact.
https://developers.facebook.com/bugs/621107951311170/Is there any way to override it in the meantime? Seems that some people on Stackoverflow are saying that adding
mobile="false"solves the problem and also here.I tried to add
mobile="false"to the DIVs insocial_plugins/comments.phpbut it didn’t have any effect. I am probably modifying the wrong place. Where is the actual markup of thefb-commentsdiv in the plugin?Forum: Plugins
In reply to: [Facebook Comments] How to Reduce Space Underneath these Comments?Any idea where to put it in the official Facebook comments plugin?
I have this problem and tried to add it to the facebook/social-plugins/comments.php file, in the part where the <div> is being generated.I checked and mobile=”false” is being added to the <div> (through Chrome – Inspect Element) but I still get the whitespace on mobile devices.
Forum: Plugins
In reply to: [Search Everything] Search everything does not 'search everything'Unfortunately I had to move to another plugin called Revelanssi which is working quite well.
Unfortunately no. I had to give admin access to the user and warn him of apocalyptic consequences if he changes anything else apart from the menu.
I also asked about it here but got no response about it either:
http://wordpress.stackexchange.com/questions/123564/the-capability-edit-theme-options-is-not-giving-capabilities-to-add-an-item-to-mSeems everyone is silent about it, must be a wordpress bug.
OK got it now. Actually whatever I put in
theme-options.phpI can then use intheme.phpas filtering criteria.Would be useful for other people looking for the same thing to have some more info on this in the documentation, or to have it in one of the default themes.
Thanks
Thanks for that Stefano.
Yes I can add the custom post types to the
$filters, but how do I edit the theme screen (theme-options.php) to allow the user to choose which post types to include?I would like to offer checkboxes, like we already do for categories, so that the user can choose to include ‘Posts’ or ‘Events’ in the newsletter.
Forum: Plugins
In reply to: [AdRotate Banner Manager] New link in a popupYes it worked!
No HTTP 404 in the Javascript console, and the click tracking seems to work too because the clicks today incremented.
Forum: Plugins
In reply to: [AdRotate Banner Manager] New link in a popupYep I know… really annoying now. As far as I know everything is the default wordpress installation. Its using the /YYYY/MM/YY/pretty-url permalinks though.
I suspect its one of the WordPress header manipulating files or something…
Forum: Plugins
In reply to: [AdRotate Banner Manager] New link in a popupOK, some more info… I got HTTP status 200 because I hadn’t updated the top
require('../../../../wp-blog-header.php');to remove one level of the../. So although the script isn’t actually working properly, we can confirm theclicktracker.phpwas executed.But, when I updated the
requireto the right path, I started getting HTTP 404 again. So it seems its not a real File Not Found error, some script somewhere is returning this HTTP 404. No idea from where its coming from yet…I put some debug logs all around the clicktracker.php file and all of them up till the last one were logged. Might be something to do with the way wordpress handles routing or permalinks then, it is thinking its not a valid URL for some reason, and setting the HTTP status code in the header to 404 at some point.
Forum: Plugins
In reply to: [AdRotate Banner Manager] New link in a popupMmm, so I did an experiment and moved
clicktracker.phpup one level (i.e. out of the/librarydirectory) and on the same level of the others likeadrotate.php.And now it worked and I got an HTTP status 200.
I don’t know if there is anything anywhere disallowing direct HTTP requests to reach at that level or something, or maybe its something to do with the latest WordPress 3.8.1, not sure. But moving it up one level solved it….
Forum: Plugins
In reply to: [AdRotate Banner Manager] New link in a popupNo its not on https and its not on localhost or anything of that. Its a normal domain that has been working for ages now. Its the domain http://www.eve.com.mt as I indicated above. You can see it if you use Chrome for instance and do ‘Inspect Element’ before you click on the advert, and then click on it, you will see it do the HTTP request to the clicktracker.php and get status code 404.