- Impact
- 6
Wordpress Customization
I need 2 things done:
I'm setting up a Minecraft server list directory and I need a way to hide servers that are offline, but show up again when they are online.
Part 1.
In the code (single.php) the server is checked to see if they are online, if they are online it say's next to the server ip, "Online".
If the server is offline, it say's, "Offline" next to the server ip.
The server owner put's in their server IP and their server port when they submit their listings.
I don't want offline servers to show up on my website, so if it say's "offline" the post needs to be hidden and not show up anywhere on the website.
However, if an offline server is back online (possibly checked with a cron job?) then the post needs to show up on the website again.
Part 2.
If the port equals: 25565 I need the port to not show
If the port equals anything else, then it needs to show the port with the server ip.
I'm using 2 custom fields to show the server ip and the port in the post. (the php code to make the custom fields show are in the single.php file)
I'll give exact file locations for the current code after we talk.
Please contact me by PM with how much you would charge me to complete this job (payment by paypal only)
I'll respond with my skype info in the PM.
thanks
I need 2 things done:
I'm setting up a Minecraft server list directory and I need a way to hide servers that are offline, but show up again when they are online.
Part 1.
In the code (single.php) the server is checked to see if they are online, if they are online it say's next to the server ip, "Online".
If the server is offline, it say's, "Offline" next to the server ip.
The server owner put's in their server IP and their server port when they submit their listings.
I don't want offline servers to show up on my website, so if it say's "offline" the post needs to be hidden and not show up anywhere on the website.
However, if an offline server is back online (possibly checked with a cron job?) then the post needs to show up on the website again.
Part 2.
If the port equals: 25565 I need the port to not show
If the port equals anything else, then it needs to show the port with the server ip.
I'm using 2 custom fields to show the server ip and the port in the post. (the php code to make the custom fields show are in the single.php file)
I'll give exact file locations for the current code after we talk.
Please contact me by PM with how much you would charge me to complete this job (payment by paypal only)
I'll respond with my skype info in the PM.
thanks
Last edited:














