GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   WORDPRESS QUESTION: Regarding Custom Fields (https://gfy.com/showthread.php?t=835744)

Angry Jew Cat - Banned for Life 06-18-2008 03:47 PM

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.

GrouchyAdmin 06-18-2008 03:49 PM

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?

Angry Jew Cat - Banned for Life 06-18-2008 07:45 PM

Quote:

Originally Posted by GrouchyAdmin (Post 14345682)
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?

that would require being less retarded though would it not? :helpme:2 cents:

Young 06-18-2008 08:35 PM

Can you post the code from your template where you are attempting to display the field but are getting the enclose me stuff instead?

Angry Jew Cat - Banned for Life 06-18-2008 08:50 PM

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 />';
        }

?>


Angry Jew Cat - Banned for Life 06-19-2008 08:16 PM

bumperoo

fris 06-20-2008 03:55 AM

http://lonewolf-online.net/computers...custom-fields/

heres some handy info


All times are GMT -7. The time now is 04:05 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123