tribeka
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Pots/Pages not showing up after site re-installThanks for your sobering advice, Esmi. Do you know what I would be looking for?
Forum: Fixing WordPress
In reply to: Pots/Pages not showing up after site re-installUPDATE…
Ok, so I’ve tried uploading an sql file from another site and it loads the pages/posts fine so the problem must be with my sql file.
I archived the site in the first place because it had been hacked tho’ I thought the sql file had been spared – I’ve cleaned up the rest of the site.
Does anyone know how I would go about cleaning up a hacked sql file?
I’ve uploaded it to the address below if there are any sql whizzes feeling generous – I’m not really sure what to look for.
[Link to hacked .sql file removed]
Many thanks
James
Forum: Fixing WordPress
In reply to: Pots/Pages not showing up after site re-installHi Robin
Thanks so much for your quick response. I’ve double checked the config file and it matches the dbname and db username and passwords I set up.
When I first uploaded it all, I was sent to an install page.
Any other thoughts?
Many thanks
James
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Make fields shorterWow. That did it. Thanks so much.
James
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Make fields shorterHi Esmi
That didn’t work but when I tweaked it to:
#wpcf7-f886-w1-o1 textarea {
width: 260px;
}it did ??
So thank you. Do you know how I would target the email field to make it shorter also?
Thanks
James
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Make fields shorterHi Esmi
That was the first thing I tried. It seems that the width attribute is hardcoded into the code using the ‘size’ attribute I mentioned above. I have been unable to override this using CSS.
Thanks
James
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Make fields shorterThanks, Esmi. Since this is a plug-in, it is not using styles from my themes .css.
The php generated mark-up looks like this:
<span class="wpcf7-form-control-wrap your-email"> <input class="wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email" type="text" size="40" value="" name="your-email"> </span>
and it’s the “size” attribute I need to change but I don’t know where as I can’t read PHP.
Thanks
James
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Make fields shorterThanks for your reply. There are loads of files associated with this plugin. Do you which of the files below I should be editing?
contact-form-7/wp-contact-form-7.php
contact-form-7/readme.txt
contact-form-7/styles-rtl.css
contact-form-7/uninstall.php
contact-form-7/admin/taggenerator.js
contact-form-7/admin/admin.php
contact-form-7/admin/styles-rtl.css
contact-form-7/admin/scripts.js
contact-form-7/admin/edit.php
contact-form-7/admin/styles.css
contact-form-7/includes/shortcodes.php
contact-form-7/includes/functions.php
contact-form-7/includes/taggenerator.php
contact-form-7/includes/pipe.php
contact-form-7/includes/formatting.php
contact-form-7/includes/controller.php
contact-form-7/includes/classes.php
contact-form-7/languages/readme.txt
contact-form-7/settings.php
contact-form-7/license.txt
contact-form-7/scripts.js
contact-form-7/jquery.form.js
contact-form-7/styles.css
contact-form-7/modules/captcha.php
contact-form-7/modules/submit.php
contact-form-7/modules/select.php
contact-form-7/modules/text.php
contact-form-7/modules/acceptance.php
contact-form-7/modules/checkbox.php
contact-form-7/modules/file.php
contact-form-7/modules/response.php
contact-form-7/modules/special-mail-tags.php
contact-form-7/modules/akismet.php
contact-form-7/modules/quiz.php
contact-form-7/modules/textarea.phpThanks
James
Forum: Fixing WordPress
In reply to: How to insert ‘leave a comment’ form in postsSussed it thanks to a savvy friend of mind.
What I needed to do was add the line of code
<?php include("comments.php");?>
to index.php.Forum: Fixing WordPress
In reply to: How to insert ‘leave a comment’ form in postsThanks for your quick reply, Rahul
<?php comments_template(); ?>
is already in my single.php file. What I want is for visitors to leave comment directly without having to click on ‘0 comments’ It’s not clear, anyway that by clicking on ‘0 comments’ you would be able to leave a comment.Thanks again
James