Title: Benjamin's Replies | WordPress.org

---

# Benjamin

  [  ](https://wordpress.org/support/users/bpiper/)

 *   [Profile](https://wordpress.org/support/users/bpiper/)
 *   [Topics Started](https://wordpress.org/support/users/bpiper/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bpiper/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bpiper/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bpiper/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bpiper/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bpiper/favorites/)

 Search replies:

## Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Background Per Page] not working](https://wordpress.org/support/topic/not-working-280/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/not-working-280/#post-3781312)
 * Lew, Do you have a demo I can look at?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Background Per Page] not working](https://wordpress.org/support/topic/not-working-280/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/not-working-280/#post-3781310)
 * [@elin](https://wordpress.org/support/users/elin/), There is a couple things 
   going on here. First there is some bug with this plugin that I have not been 
   able to track down however there is a work around for. When you set the background
   color in the plugin it will not apply unless you have an image in use. So the
   work around I have used is you can create a transparent 1px PNG file and set 
   the plugin to not repeat the background image. This will tell the plugin to activate
   and set the background color (but using a single pixel transparent image).
 * Now as for your theme, I see that the background-4.png is not being applied to
   the BODY tag but is actually using a DIV (ID name “wrapper”) that is acting as
   the body. This plugin when selecting “body” uses the BODY tag and applies the
   background to that. This means that your DIV is on top of the BODY there for 
   it will be hidden under the DIV. In order to correct this you will need to edit
   the plugin to use the “wrapper” DIV tag instead of the body. I see in your code
   that you have set the “wrapper” background to be !important.
 * I am sorry but I am not familiar with the wootheme Athena in how it is setup 
   to let people customize, so I am not sure what/where/why this was set this way
   to make this happen. However if you must use the !important tag, you can edit
   the plugin to apply this as well. The only only think to make sure is that the
   plugin applies your new background settings underneath the custom “wrapper” settings
   you have so that it will be set !important.
 * Sorry for the long post. I hope I am clear on what I am pointing out. Also I 
   can point out where in the plugin code you need to change if needed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Background Per Page] not working](https://wordpress.org/support/topic/not-working-280/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/not-working-280/#post-3781308)
 * [@lew1981](https://wordpress.org/support/users/lew1981/), Can I ask what theme
   you are using?
    [@elin](https://wordpress.org/support/users/elin/), I have a 
   question about your page. Are you wanting to remove the background-4.png image
   from just this page?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Background Per Page] WP 3.6 this seems not to work at all](https://wordpress.org/support/topic/wp-36-this-seems-not-to-work-at-all/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/wp-36-this-seems-not-to-work-at-all/#post-4018408)
 * Looks good. Glad to see you were able to get something to work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Background Per Page] New backround for page-content does not show up](https://wordpress.org/support/topic/new-backround-for-page-content-does-not-show-up/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/new-backround-for-page-content-does-not-show-up/#post-4002208)
 * Hello Moelangi, you will have to make an edit to the program (simple change) 
   or create a new div in your content called .post_content
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Background Per Page] WP 3.6 this seems not to work at all](https://wordpress.org/support/topic/wp-36-this-seems-not-to-work-at-all/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/wp-36-this-seems-not-to-work-at-all/#post-4018406)
 * I am using WP 3.7 and it works for the body. what theme are you using? You are
   correct about it not working for the content. You have to make an edit in the
   code for that to work. I am not sure I fully get why HTML is even an option. 
   Are you wanting all areas to work?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Background Per Page] not working](https://wordpress.org/support/topic/not-working-280/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/not-working-280/#post-3781305)
 * To what element are you wanting to apply the background to? The whole body of
   the page or just the background of the post itself. Also which version of wordpress
   are you using?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Electric Studio Auto Post Expire] Post Not Expiring](https://wordpress.org/support/topic/post-not-expiring/)
 *  Thread Starter [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/post-not-expiring/#post-3177520)
 * Sorry about. Marking resolved now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Electric Studio Auto Post Expire] Post Not Expiring](https://wordpress.org/support/topic/post-not-expiring/)
 *  Thread Starter [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/post-not-expiring/#post-3177499)
 * Thanks, I was able to find the information I needed. I am running a windows IIS
   server and needed to setup a windows task to run cron on a schedule. The information
   can be found at the following link:
 * [http://drupal.org/node/31506](http://drupal.org/node/31506)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextGEN Custom Fields] Image links- Not Working!](https://wordpress.org/support/topic/image-links-not-working-2/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/image-links-not-working-2/#post-3176498)
 * I didn’t set mine to do that but you can easily modify this link to make it open
   one.
 *     ```
       if($use_url)
               {
                 $output .= "<a href=\"" . $image_alt . "\">";
               }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextGEN Custom Fields] Image links- Not Working!](https://wordpress.org/support/topic/image-links-not-working-2/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/image-links-not-working-2/#post-3176495)
 * Ok, Sorry to update this post after its been marked resolved but I thought I 
   would share how I got this fixed for others who want to use shauno’s great plugin
   with JJ NextGen JQuery Carousel for adding the links instead of using the built
   in Alt option. I got it figured out with the trial and error method.
    Just change:
 *     ```
       $image = new nggImage($result);
       $image_alt = trim($image->alttext);
       $image_description = trim($image->description);
       ```
   
 * with this:
 *     ```
       $image = new nggImage($result);
              	$image_alt = trim(nggcf_get_field($image->pid, 'Your custom field goes here'));
               $image_description = trim($image->description);
       ```
   
 * Thanks for the help shauno.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextGEN Custom Fields] Image links- Not Working!](https://wordpress.org/support/topic/image-links-not-working-2/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/image-links-not-working-2/#post-3176486)
 * Thanks for the update shauno. I have tried plugging in the API code that you 
   gave. I am still unable to figure it out yet. You mention the $pid variable that
   they might be using? I am afraid I am still new when it comes to PHP programing
   as my back ground is priamrily web layout design. I was wondering if you could
   see anything in the following code that might point out what they are using to
   pull the alttext data to get the $pid. It is a copy of the code that deals with
   adding links to the images.
 *     ```
       $image_alt = null;
             $image_description = null;
             foreach($results as $result)
             {
               $gallery = $wpdb->get_row("SELECT * FROM $wpdb->nggallery WHERE gid = '" . $result->galleryid . "'");
               foreach($gallery as $key => $value)
               {
                   $result->$key = $value;
               }
               $image = new nggImage($result);
               $image_alt = trim($image->alttext);
               $image_description = trim($image->description);                   
   
               $output .= "\n    <li>";
   
               // check that alt is url with a simple validation
               $use_url = false;
               if($image_alt != '' && (substr($image_alt, 0, 1) == '/' || substr($image_alt, 0, 4) == 'http' || substr($image_alt, 0, 3) == 'ftp'))
               {
                 $use_url = true;
               }
               // if alt isn't a url make it the alt text to backwards support nextgen galleries
               elseif($image_alt != '')
               {
                 $image_description = $image_alt;
               }
   
               if($use_url)
               {
                 $output .= "<a href=\"" . $image_alt . "\">";
               }
   
               if($image_description != '')
               {
                 $image_description = "alt=\"" . esc_attr($image_description) . "\" ";
               }
               else
               {
                 $image_description = '';
               }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextGEN Custom Fields] Image links- Not Working!](https://wordpress.org/support/topic/image-links-not-working-2/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/image-links-not-working-2/#post-3176453)
 * I have been trying to get the custom fields to work with JJ NextGen JQuery Carousel
   as well. I am not sure if you are aware that if you put your link in the Alt&
   Title area of NGG with the http the image will use the link that you have posted
   in that field. Editing the Gallery.php only works for NGG itself. In the JJ NextGen
   JQuery Carousel you have to edit the includes/jj_ngg_jquery_carousel.php, unfortunately
   I have been unsuccessful myself in getting this to work. In jj_ngg_jquery_carousel
   there is code for
 *     ```
       $image = new nggImage($result);
       $image_alt = trim($image->alttext);
       $image_description = trim($image->description);
       ```
   
 * and I have tried to change it to
 *     ```
       $image = new nggImage($result);
       $image_alt = trim($image->ngg_custom_fields["Your Field Name Here"];);
       $image_description = trim($image->description);
       ```
   
 * and it doesn’t seem to want to pull the link from the custom field. I am not 
   sure if I can use the $image->ngg_custom_fields[“Your Field Name Here”]; in the
   jj_ngg_jquery_carousel.php or not. I am not sure how to pull the code in else
   wise. Any help would be appreciated.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Spreadsheet] [Plugin: Spreadsheet] Activation of the plugin was not possible](https://wordpress.org/support/topic/plugin-spreadsheet-activation-of-the-plugin-was-not-possible/)
 *  [Benjamin](https://wordpress.org/support/users/bpiper/)
 * (@bpiper)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-spreadsheet-activation-of-the-plugin-was-not-possible/#post-2507089)
 * After I installed the plug in I had to add some code to my template to get it
   to run. This is the code I put in my websites header to make it run, otherwise
   it wouldn’t display even after following dhtmlx’s guide.
 *  `<script src=’[http://yourwebsite/wp-content/plugins/spreadsheet/codebase/spreadsheet.php?load=js&#8217](http://yourwebsite/wp-content/plugins/spreadsheet/codebase/spreadsheet.php?load=js&#8217);
   type=’text/javascript’ charset=’utf-8′></script>
    <link rel=’stylesheet’ href
   =’[http://yourwebsite/wp-content/plugins/spreadsheet/codebase/dhtmlx_core.css&#8217](http://yourwebsite/wp-content/plugins/spreadsheet/codebase/dhtmlx_core.css&#8217);
   type=’text/css’ charset=’utf-8′> <link rel=’stylesheet’ href=’[http://yourwebsite/wp-content/plugins/spreadsheet/codebase/dhtmlxspreadsheet.css&#8217](http://yourwebsite/wp-content/plugins/spreadsheet/codebase/dhtmlxspreadsheet.css&#8217);
   type=’text/css’ charset=’utf-8′> <link rel=’stylesheet’ href=’[http://yourwebsite/intranet/wp-content/plugins/spreadsheet/codebase/dhtmlxgrid_reset.css&#8217](http://yourwebsite/intranet/wp-content/plugins/spreadsheet/codebase/dhtmlxgrid_reset.css&#8217);
   type=’text/css’ charset=’utf-8′>`

Viewing 14 replies - 1 through 14 (of 14 total)