superoctave
Forum Replies Created
-
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Fields have disappeared – Help!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: 1440Opcode Cache:
Apc: No
Memcached: No
Redis: NoObject Cache:
Apc: No
Apcu: No
Memcache: Yes
Memcached: Yes
Redis: YesWPDB Prefix: wp_
WP Multisite Mode: No
WP Memory Limit: 40MForum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Fields have disappeared – Help!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
In reply to: [Pods - Custom Content Types and Fields] Fields have disappeared – Help!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
In reply to: [Search Everything] Search and include Taxonomy NAMESI 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
In reply to: [TablePress - Tables in WordPress made easy] Column rendering from DataTablesPerhaps only a few of the features from DataTables can be used directly in TablePress?
Forum: Fixing WordPress
In reply to: Looking for suggestions for creating basic databaseWow! This seems to be exactly what I was looking for. Very powerful – and very straightforward. Thank you SO much!!
Forum: Fixing WordPress
In reply to: Looking for suggestions for creating basic databaseNo- 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
In reply to: Possible to display alternate images?(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
In reply to: Possible to display alternate images?(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
Forum: Themes and Templates
In reply to: How to overlay site title on header imageThat 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
In reply to: How to overlay site title on header imageIs 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
In reply to: How to overlay site title on header imageUnfortunately 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
In reply to: How to overlay site title on header image(sorry- that posted twice)
Forum: Themes and Templates
In reply to: How to overlay site title on header imageHaha! 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
In reply to: How to overlay site title on header imageI 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…