Eric Teubert
Forum Replies Created
-
Forum: Plugins
In reply to: [Podlove Podcast Publisher] PHP 7 CompatibilityI fixed the first two warnings. The others are in third party libraries that I cannot change, however they don’t seem severe.
Forum: Plugins
In reply to: [Archivist - Custom Archive Templates] Update to version 1.7.2 broke siteYou can download 1.6 directly here: https://downloads.wordpress.org/plugin/archivist-custom-archive-templates.1.6.zip
You can also update PHP to a more recent version to fix the issue.
Forum: Plugins
In reply to: [Archivist - Custom Archive Templates] Update to version 1.7.2 broke siteThanks for reporting, I accidentally used PHP 5.4 syntax. Release 1.7.3 fixes this.
I activated 2016 only to realise that I can’t view tickets there because there the support template files are missing.
Anyway, I found the issue and a fix: The name of the file input field was “wpas_files[][]” instead of “wpas_files[]”. Not sure why but I fixed it with a filter. I’ll post it here in case anyone else encounters this:
add_filter('wpas_cf_field_atts', function($atts, $field, $option) { foreach ($atts as $index => $att) { if (stristr($att, 'files[][]')) { $atts[$index] = str_replace('[][]', '[]', $att); } } return $atts; }, 20, 3);- This reply was modified 9 years, 6 months ago by Eric Teubert.
I don’t have time available to work on the plugin in the foreseeable future, sorry.
What’s the point in having a pagination in this way?
I’d call it an “accidental feature” since I simply allow all native WordPress query parameters. There is no explicit support for pagination.
Hi Eli,
Thank you for the elaborate answer. You are right, there is no good reason to use a variable function there. I will also check if I’m using nonces.
Forum: Plugins
In reply to: [Archivist - Custom Archive Templates] No ThumbnailsCan you post your template code that includes the thumbnail placeholder?
Forum: Themes and Templates
In reply to: [Hueman] Bug Report/Request: Please don't break RSS feedsThanks bdbrown, I’ll mark this as resolved here and will keep an eye on the GitHub issue.
The number of the page you want to display. “paged=3” shows page number 3, “paged=15” shows page number 15 etc.
You can only paginate using the query parameter, not the category parameter.
For example:
[archivist query="category_name=nature&posts_per_page=10&paged=3"]Forum: Plugins
In reply to: [Podlove Podcast Publisher] Fix Facebook taggingHi jnschmid,
You have three(!) different plugins generating open graph tags
– Facebook Open Graph, Google+ and Twitter Card Tags 1.7.3.1
– WP Overview (lite)
– Podlove PublisherThis makes it hard to know which one Facebook will be using.
https://wordpress.org/support/topic/open-graph-data-from-yoast-seo-ignored-by-facebook?replies=2 describes a similar issue. I tried to follow the suggestions of the support member there and really, using https://developers.facebook.com/tools/debug/sharing/?q=http%3A%2F%2Fwww.zoeliakie-austausch.de%2Fpodcast-folge-036%2F multiple times sometimes offers different results. Right now I get the title “Za 036”, no idea where Facebook gets that from because it’s nowhere to be found in the raw tags.
Which leads me to feel like what the other developer said in the thread above seems true
This seems to be a ‘bug’ in facebook, instead of our plugin, but using the debugger oftentimes is a good work-around
Forum: Plugins
In reply to: [Archivist - Custom Archive Templates] Query multiple monthsI see what you try to do with your query above but I don’t think there is a way to do that with the existing API. Multiple queries are not supported.
Forum: Plugins
In reply to: [Archivist - Custom Archive Templates] Query multiple monthsHi,
“monthnum” only works for single months. The query syntax, as far as I know, has no support for date ranges.