Christian Rüggeberg
Forum Replies Created
-
Forum: Plugins
In reply to: [CMB2] Wysiwyg field type is not woroking.@tw2113 I think this ticket will fix the problem:
https://core.trac.ww.wp.xz.cn/ticket/52050I don’t know if it helps, but with Chrome-Browsers it works well.
In Firefox you cannot place a cursor anywhere in the field.- This reply was modified 5 years ago by Christian Rüggeberg.
Sorry, but there are tons of single cron-entries ‘hugeit_image-gallery_opt_in_cron’ in the database. Does any other plugin as yours will create this entries?
- This reply was modified 8 years, 11 months ago by Christian Rüggeberg.
It produces a lot of server load because there a huge amount of cron task which will run ~every 10 seconds. The tasks are defined for the next 7 days with a recurrence of 1 week. So it will break the site for ever …
Forum: Plugins
In reply to: [Default Media Uploader View] Filter doesn’t work in Version 1.0.6This issue was affected by CMB2 and will be fixed in the next Version.
See https://github.com/CMB2/CMB2/issues/873Forum: Plugins
In reply to: [Default Media Uploader View] Filter doesn’t work in Version 1.0.6No, it is exactely as you described. There is no “Uploaded to this post” dropdown in the media modal. (also without your plugin)
But if you try to upload some files you will see in 1.0.5 that there are only files uploaded to this post and in 1.0.6 you see all files uploaded to the site.
Forum: Plugins
In reply to: [Default Media Uploader View] Filter doesn’t work in Version 1.0.6You are alright, there is a conflict with the plugin CMB2
In the media modal on a page or post the behaviour is working well. I didn’t recognised it because in this project i only use my own media-fields created with cmb2. If you take a look at the insert media modal in cmb2 you will see that there is no select box where you can choose the month or “only uploaded to this post”. Strange why it works with the last version of your plugin …
I think we have to report an issue for cmb2 – or what do you say?
Forum: Plugins
In reply to: [Logo Slider] Fully Responsive?Til this issue is fixed it helps for me to put the following css in the footer:
<style type="text/css"> #logo-slider-wraper{ width:100% !important; } </style>You cannot override this rule with your style.css because the plugin outputs its css-code directly.
Forum: Plugins
In reply to: [WP Job Manager] Search Category in Custom Search doesn't workOk i will answer it for myself 🙂 the magic word is “filter” …
function set_job_manager_custom_filters( $attr ) { if( !empty($_REQUEST['search_category']) ) { $attr['categories'] = sanitize_text_field( $_REQUEST['search_category'] ); } if( !empty($_REQUEST['filter_job_type']) ) { $attr['job_types'] = sanitize_text_field( implode( ',', array_values( $_REQUEST['filter_job_type'] ) ) ); } return $attr; } add_filter('job_manager_output_jobs_defaults','set_job_manager_custom_filters');@wish Web Geek
EM_Events::output( array('category' => $EM_Category->slug) )
If you are using the “postname”-option for your permalinks you can use the event category slug for searching.If your theme supports different page templates and you set the output-page in settings->pages->eventcategories
then you can choose a different page template for your category output.Yes, the single category ist also a list because normally there are more than one event assigned zo it – or what do you mean?
Ok, no problem …
The content of the header and footer-variable is like the header.php / footer.php of your theme. They will generated only once. The content-variable is like the content.php in your theme. It will be generated as often there are posts, in this case as often there are events in the given category.
head
content
content
content
….
footHere is my custom html as an example:
$fmt_header = '<div class="eventcontainer">'; $ffmt_content = '<div class="eventlist"> <div class="headbar"><span class="upper">#_CATEGORYNAME</span> | #_{ D d.m.Y } - #_24HSTARTTIME Uhr | </strong>#_LOCATIONNAME, #_LOCATIONADDRESS, #_LOCATIONPOSTCODE #_LOCATIONTOWN</div> <div class="thumb">#_EVENTIMAGE{235,165}</div> <div class="description"> <div class="title">#_EVENTLINK</div> <div class="excerpt">#_EVENTEXCERPT{50, ...}</div> <div class="linkbar"><a href="#_EVENTURL">weitere Informationen</a></div> </div> </div>'; $fmt_footer = '</div>';Please take a look at the settings-page:
Events > Settings > Formats/Layouts > Events FormatThe first three Textares contain the html for head, content and footer of the event-output. On this page there are all the possible placehoders for the output and if you scroll down there is also a short example how to use them.
If there is no need to customize the output you can also not use the custom html parts. In this case the default html output will be generated:
$args = array('scope'=>'all', 'orderby'=>'date', 'category' => $EM_Category->slug);Hi fonziconnzi,
first you have to create a template for the single-category as described here. The content of this template file should look like:
<?php global $EM_Category; // For the Format HTML please use the following placeholders: // http://wp-events-plugin.com/documentation/placeholders/ $fmt_header = 'some header html here'; $fmt_content = 'some content html here'; $fmt_footer = 'some footer html here'; $args = array('scope'=>'all', 'orderby'=>'date', 'category' => $EM_Category->slug, 'format_header'=>$fmt_header, 'format'=>$fmt_content, 'format_footer'=>$fmt_footer,); $args = apply_filters('em_content_categories_args', $args); echo EM_Events::output( $args ); ?>Now you have to set the output-page in settings->pages->eventcategories and on this page you can define any custom page template.
I hope this will help!
No chance 🙁 The main problem is that the template file “taxonomy-events-categories.php” wil never be called. But i found a different solution for my problem.
In the plugin template ‘category-single.php’ i create an event list with a category-filter:
global $EM_Category; EM_Events::output( array('category' => $EM_Category->slug) )Now I can assign the category output (on the settings page) to a page with a custom template and it works! … strange, but it helps 😉
No, there is no difference. I also tried to use another theme, but always the same …
Sorry, but this doesn’t work. I also tried to rename the file to “taxonomy-event-category.php” like the default WordPress category template, but … no success 🙁
Oh, i’m using WP 4.0 and a twentytwelve – child theme