joerns
Forum Replies Created
-
Forum: Plugins
In reply to: [Resize images before upload] Multi Site and WP 4?Same for me. Fix would be appreciated. Very nice plugin otherwise.
bingbot should be added as well.
Forum: Plugins
In reply to: [Better Image Credits] Background imageYou’re welcome. I always prefer contributing to existing plugins rather than creating an indefinite number of forks ??
Output is done by calling
if(function_exists('the_image_credits')) the_image_credits();
in myfooter.php
.Forum: Plugins
In reply to: [Better Image Credits] Background imageHave a look at: https://verein.eckmannshain.de/ (in the footer)
However I have to admit that this does not always work if the image is added by some plugins (e.g. pixabay plugin). If the image is uploaded via media uploader, it works. I could investiage that but am busy at the moment.
Forum: Plugins
In reply to: [Better Image Credits] Credits for GalleriesHello,
I needed this feature, too and therefore implemented it:
// Finally check the galleries $pattern = get_shortcode_regex(); if ( preg_match_all( '/'. $pattern .'/s', $post->post_content, $matches ) && array_key_exists( 2, $matches ) && in_array( 'gallery', $matches[2] ) ) { foreach($matches[2] as $index => $tag){ if($tag == 'gallery'){ $params = shortcode_parse_atts($matches[3][$index]); if(isset($params['ids'])){ $ids = explode(',', $params['ids']); foreach($ids as $id){ $id = (int) $id; if($id > 0) $attachment_ids[] = $id; } } } } }
I also added functionality to make the IDs unique before the credits are requested from the DB:
// Make sure the ids only exist once $attachment_ids = array_unique($attachment_ids);
Forum: Plugins
In reply to: [Better Image Credits] Background imageWell, unfortunatley the site isnt online yet.
However I have a screenshot: https://dl.dropboxusercontent.com/u/2311504/Unbenannt.PNG
Really works on all pages.
Forum: Plugins
In reply to: [Better Image Credits] Background imageNo, it is meant to work everywhere, and works for me on every page I tested. However in WordPress it is complicated to retrieve the ID of the currently selected background image, so the code a bit longer.
Forum: Fixing WordPress
In reply to: Menu Broken: Items disappearing/moving/changing typeSetting the values to 5000 fixed it.
Thanks everybody!Forum: Fixing WordPress
In reply to: Help me! I changed my master domain name.In the wp_options MySQL table, your domain is stored multiple times, I think you should go throu it with PhpMyAdmin and change the values to your new domain.
Forum: Fixing WordPress
In reply to: Menu Broken: Items disappearing/moving/changing typeI know. But i remember having Problems with sorting Pages, too. I’ll give it a try.
Forum: Fixing WordPress
In reply to: Menu Broken: Items disappearing/moving/changing typeHmm, at the moment I can’t change suhosin values. Anyway, would that explain that Menu items are changing their type?
My menu isn’t that large; And I also have Problems when submitting my menu with around 70 POST variables while suhosin.post.max_vars is at 200.Forum: Fixing WordPress
In reply to: Menu Broken: Items disappearing/moving/changing typeThanks, esmi.
However I tried what you suggested and it’s still the same.
I also tried creating a completely new menu, but I get the same problems.
Menu items moving and changing type.
Perhaps some items in the wp_posts table are corrupt. I read that the Menus are also stored somewhere in there… I’l try to investigate that…