odaku128
Forum Replies Created
-
Forum: Plugins
In reply to: Mailer.phpDo Mailer.php’s work inside of wordpress?
Is There a special way to write them?
This is mine:
<?php $to = "to"; $subject = "subject"; $headers = "From: header"; $forward = 1; $location = "https://www.site.com"; $date = date ("l, F jS, Y"); $time = date ("h:i A"); $msg = "Below is the result of your feedback form. It was submitted on $date at $time.\n\n"; if ($_SERVER['REQUEST_METHOD'] == "POST") { foreach ($_POST as $key => $value) { $msg .= ucfirst ($key) ." : ". $value . "\n"; } } else { foreach ($_GET as $key => $value) { $msg .= ucfirst ($key) ." : ". $value . "\n"; } } mail($to, $subject, $msg, $headers, -f$headers); if ($forward == 1) { header ("Location:$location"); } else { echo "Thank you for submitting our form. We will get back to you as soon as possible."; } ?>
Forum: Fixing WordPress
In reply to: Centering a WordPress Gallery [gallery]Did you create this theme yourself?
If not, do you know how to edit the php/html that builds up the page?
The tables used to create your layout have made the first picture before the gallery lap over the edge of your content div and in to your sidebar, giving the illusion that your gallery is not centered, when in fact it is centered to your content div. In order to make it appear centered you would have to edit the width of your content div and sidebar. A little css editing will give you the result that you want.
Forum: Fixing WordPress
In reply to: WP 2.7 – all permalinks displaying same postI had a similar problem.
Check your custom permalink structure to see if any extra spaces have found there way in.
I had an extra space at the end of
/topics/%postname%
It caused all the permalinks to default to my latest post.
Removed it – Problem solved.
Forum: Fixing WordPress
In reply to: Include WordPress Components in My Custom Web PagesI think this might help you.
https://dmiessler.com/blog/how-to-include-wordpress-components-in-your-custom-web-pages