![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
WORDPRESS QUESTION: Regarding Custom Fields
Ok, so I am using custom fields on one of my blogs and until I moved to my new server I had no problems. Now though I have this custom field which I cannot control popping up and I cannot get rid of it. "_encloseme: 1" it won't go away. What do I gotta do to get that pain in the ass off of there? It's an eyesore, and does not belong there.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Change your SQL query to be less retarded than "SELECT *" and display everything - or do a really stupid/lazy and unset it from the array?
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Bland for life
Industry Role:
Join Date: Nov 2004
Posts: 10,468
|
Can you post the code from your template where you are attempting to display the field but are getting the enclose me stuff instead?
__________________
★★★
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
no clue even what part it is that does the custom fields, its a theme i purchased. i've never built a theme and used them myself. this is the only part of the theme that appears jibberish to me, so i assume this is what is including them...
Code:
<? $smth_posted = 0; while(list($key, $val) = each($post_meta_cache[1][$post->ID])){ if(!preg_match('/^ratings_/', $key)){ $smth_posted = 1; echo $key.': <span class="score">'.$val[0].'</span><br />'; } } if(!$smth_posted){ echo '<br /><br /><br /><br />'; } ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
bumperoo
|
![]() |
![]() ![]() ![]() ![]() ![]() |