ericjs61
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: redirect button to url created with variablesThank you so much!! With using the plugin Woody Snippet – I was able to create this code that did so much more. I learned that I can pass PHP code from the server to the client(html) using <?php and ?> here is the new code that does so much more:
<?php
global $wpdb;
get_currentuserinfo();
$current_user_id = get_current_user_id();
$todayA = date(“Y/m/d”);
$startB = date(‘2019/01/31’);
$endC = date(‘2019/03/17’);if (($startB < $todayA) and ($todayA < $endC)) {
$Play = “Ready to Play”;
$url = “https://mitbtennis.com/2019/register2play/#/register2play/” . $current_user_id . “/32”;
$GoPlay = “submit”;
} elseif ($todayA < $startB)
{
$Play = “Coming Soon”;
$url = “https://mitbtennis.com/2019/”;
$GoPlay = “button”;
} else {
$Play = “Closed”;
$url = “https://mitbtennis.com/2019/”;
$GoPlay = “button”;
}?>
<form action=”<?php echo $url; ?>” method = “post”>
<input type=”<?php echo $GoPlay; ?>” value=”<?php echo $Play; ?>”>
</form>Hello Everyone,
It turned out I had to got back to my initial install. I had deleted some of the UM Forms that needed to be in place. After doing so, everything worked fine.
This was an issue caused by my Internet Provider. I had to set the email to Remote, not local. Then everything started working fine.
What are caching plugins?
Hello,
Where is this core/fields-file?
Thanks