Title: superoctave's Replies | WordPress.org

---

# superoctave

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/superoctave/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/superoctave/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Fields have disappeared – Help!](https://wordpress.org/support/topic/fields-have-disappeared-help/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/fields-have-disappeared-help/#post-7473944)
 * > Sounds like you’re having some memory issues possibly, what hosting are you
   > using?
 * Great question, and I’m embarrassed to admit that I don’t know for sure. (The
   hosting was switched by the higher-ups to a different service and I was not involved
   with the process). I believe, however, that it is currently hosted by WP Engine.
 * Here are the details listed on the settings screen:
 * WordPress Version: 4.5.2
    PHP Version: 5.5.9-1ubuntu4.17 MySQL Version: 5.6.29
   Server Software: Apache Your User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS
   X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/
   537.36 Session Save Path: /var/lib/php5 Session Save Path Exists: Yes Session
   Save Path Writeable: Yes Session Max Lifetime: 1440
 * Opcode Cache:
    Apc: No Memcached: No Redis: No
 * Object Cache:
    Apc: No Apcu: No Memcache: Yes Memcached: Yes Redis: Yes
 * WPDB Prefix: wp_
    WP Multisite Mode: No WP Memory Limit: 40M
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Fields have disappeared – Help!](https://wordpress.org/support/topic/fields-have-disappeared-help/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/fields-have-disappeared-help/#post-7473936)
 * Oh. My. Gosh.
 * The fields (and permalinks) are suddenly / randomly working again. …Sortof.
 * I deactivated/updated/re-activated the plugin that handles the custom post type
   permalinks. The fields are once again displayed on the edit page for the custom
   taxonomy entires.
 * Something in that plugin must have been causing problems.
 * However, the fields are still not appearing on the “edit pod” page (and the Pods
   Admin page still lists 0 fields for both pods), so I can’t remove or edit an 
   existing field…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Fields have disappeared – Help!](https://wordpress.org/support/topic/fields-have-disappeared-help/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/fields-have-disappeared-help/#post-7473934)
 * > Have you tried going to Pods Admin > Settings > Clear Cache?
 * Hey! Thanks for your quick response. I did try clearing the cache. It did not
   solve the problem.
 * Disregard this… see below… [_Since writing the original post, the problem has
   actually gotten worse: none of the custom post type entries are now displaying
   at all. The permalinks now show a 404 error. Even when I try previewing entries
   from their edit pages, it just shows an error. The custom taxonomy is still displaying
   correctly however._]
 * Augh.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Everything] Search and include Taxonomy NAMES](https://wordpress.org/support/topic/search-and-include-taxonomy-names/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/search-and-include-taxonomy-names/#post-6158258)
 * I have to admit that I’m a little frustrated that I didn’t get a single response.
   Bummer!
 * Anyways, I managed to write a quick (or NOT) and dirty solution, using the “name__like”
   argument of the get_terms() function. It’s not the best way to do it, but it 
   works for what I need.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Column rendering from DataTables](https://wordpress.org/support/topic/column-rendering-from-datatables/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [11 years ago](https://wordpress.org/support/topic/column-rendering-from-datatables/#post-6026819)
 * Perhaps only a few of the features from DataTables can be used directly in TablePress?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Looking for suggestions for creating basic database](https://wordpress.org/support/topic/looking-for-suggestions-for-creating-basic-database-help/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/looking-for-suggestions-for-creating-basic-database-help/#post-5680791)
 * Wow! This seems to be exactly what I was looking for. Very powerful – and very
   straightforward. Thank you SO much!!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Looking for suggestions for creating basic database](https://wordpress.org/support/topic/looking-for-suggestions-for-creating-basic-database-help/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/looking-for-suggestions-for-creating-basic-database-help/#post-5680783)
 * No- I will definitely check it out!!
 * I’ve found a number of plugins that do this sort of thing, but most of them are
   pretty outdated and didn’t play nice with the latest version of WP. If this one
   works, it could be exactly what I’ve been looking for. Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Possible to display alternate images?](https://wordpress.org/support/topic/possible-to-display-alternate-images/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/possible-to-display-alternate-images/#post-5380072)
 * (Update #2):
 * I have to be perfectly honest… I’m a little frustrated and disappointed that 
   no one responded to my post – not even to point me in the right direction. It
   really would have saved me some time.
 * Anyways, here’s a snippet of code I’ve been writing from scratch that could be
   used to do what I need. I’m posting it here in the hopes that it might help someone
   else, or if anyone has a suggestion to improve it:
 *     ```
       add_filter( 'the_content', 'check_content_thumbnails' );
       function check_content_thumbnails( $content ) {
       	if ( is_singular('post') ) {
   
       		$text = $content;
       		$replacementURL = "foo.jpg";
       		$reg_exUrl = "([a-z\-_0-9\/\:\.]*\.(jpg|jpeg|png|gif))";
       		preg_match_all($reg_exUrl, $text, $matches);
       		$usedPatterns = array();
       		foreach($matches[0] as $pattern){
       			if (!array_key_exists($pattern, $usedPatterns)){
       			$usedPatterns[$pattern]=true;
       			//$url=getimagesize($pattern);
   
       			if(!is_array(getimagesize($pattern))) {
           				$text = str_replace($pattern, $replacementURL, $text);
       			}
   
       			}
   
       		} //for loop
       		$content = $text;
       	}
       	return $content;
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Possible to display alternate images?](https://wordpress.org/support/topic/possible-to-display-alternate-images/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/possible-to-display-alternate-images/#post-5379876)
 * (Somewhat of an update:)
 * I found a plugin that does this (and works, even with the latest WP version),
   though it would be nice if I could do this on a per-post basis and not across
   the site.
 * [http://www.htmlremix.com/projects/wordpress-broken-image-fix](http://www.htmlremix.com/projects/wordpress-broken-image-fix)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to overlay site title on header image](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/page/2/#post-4281422)
 * That CSS didn’t work- it simply stretched the image across the entire page at
   the top above everything, so I reverted to using the original code you posted.
   I like having the header image within the borders of the main body, like it is
   at the moment…
 * Thanks again!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to overlay site title on header image](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/page/2/#post-4281406)
 * > Is it just a top margin you want gone?
 * Well, I just added:
 * `height: 100px;`
 * …to the CSS code and it seems to have done the trick!
 * Thanks!!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to overlay site title on header image](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/#post-4281405)
 * > Unfortunately not. The margin I think you’re referring to is shared by other
   > elements of the page. That’s tricky.
 * Drat. OK- so hypothetically speaking, if I removed this code and re-added the
   header image on the header page, is there another way I could produce this same
   effect and still be able to change its properties? Like- if I put the following
   code in a <div> and changed the CSS for it?
 *     ```
       <?php $header_image = get_header_image();
       if ( ! empty( $header_image ) ) : ?>
       			<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a>
       		<?php endif; ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to overlay site title on header image](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/#post-4281401)
 * (sorry- that posted twice)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to overlay site title on header image](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/#post-4281397)
 * Haha! No worries- I didn’t catch it myself.
 * Yes. That works! Now- can I change the margins and padding just by adding to 
   that CSS? Or change the height? The bottom part of the image is chopped off, 
   I think.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to overlay site title on header image](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/)
 *  Thread Starter [superoctave](https://wordpress.org/support/users/superoctave/)
 * (@superoctave)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-overlay-site-title-on-header-image/#post-4281394)
 * I guess if it did anything, perhaps!
 * I added the plugin and added the CSS you mentioned but it doesn’t seem to do 
   anything. I also “removed” the header from the header section of the appearance
   tab…

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/superoctave/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/superoctave/replies/page/2/?output_format=md)