AJD
Forum Replies Created
-
I did look at my settings for php.ini file and memory_limit is currently set to 712M. Seems like that should be a reasonable amount to run this script.
@caimin – I tried adding that and boosting the memory all the way to 1028M with no result.
I did get en error at first in debug and php logs after adding the define(wp_memory_limit) to the bottom of wp-config.php, I moved the code snippet to the top of wp-config.php and the errors went away.
Error logs only showed this:
[20-Jan-2014 21:23:35] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /wp-config.php on line 92
[20-Jan-2014 21:23:35] PHP Warning: Cannot modify header information – headers already sent by (output started at /wp-config.php:92) in /wp-includes/option.php on line 563There are no other errors in the php_errorlog or any WP debug notices.
@angelo – I am having this issue on a brand new WP install. Event Manager is the only plugin, and I am using the default theme. Debugging is on and showing no messages. I haven’t found my php logs yet.
@bebory – Thanks. I will look into this with my ISP. But I have never had memory issues with other plugins on this site.
Thanks for the help, I finally got it mostly working.
I’m using ‘parent’ instead of ‘child_of’ because ‘child_of’ lists all sub-categories and ‘parent’ only lists direct children.
<!-- first category --> <ul>[categories_list include=112] <li>#_CATEGORYLINK <ul>[/categories_list][categories_list parent=112 <li>#_CATEGORYLINK</li>[/categories_list] </ul></li></ul> <!-- second category --> <ul>[categories_list include=110] <li>#_CATEGORYLINK <ul>[/categories_list][categories_list parent=110 <li>#_CATEGORYLINK</li>[/categories_list] </ul></li></ul>
So, any ideas on how to list the number of upcoming events in each category?
Forum: Themes and Templates
In reply to: [Highwind] Remove Featured ImageSince Highwind adds the post_thumbnail from an action hook, for Highwind here is a way to remove the featured image, from your functions.php file:
add_action ('highwind_content_entry_top', 'remove_highwind_featured_image'); function remove_highwind_featured_image(){ remove_action( 'highwind_content_entry_top', 'highwind_featured_image', 20 ); }
You could also add conditional statements into the function if you want to use the featured image only on some pages. Or… hook into some other location if you would like to have the featured image in a different place.
I love the Highwind theme for how many action hooks it has built it!
Forum: Themes and Templates
In reply to: [Highwind] Remove featured image from custom post type.I figured it out, was adding my new function at the wrong place:
add_action ('highwind_content_entry_top', 'remove_highwind_featured_image'); function remove_highwind_featured_image(){ if ( 'event' == get_post_type() ){ remove_action( 'highwind_content_entry_top', 'highwind_featured_image', 20 ); }
To verify this issue I installed a completely new WordPress site, installed the Events Manager plugin with Twenty Fourteen theme. When saving in the settings area it displays a blank screen.
I would like to know how to do this as well. Have been working on it, but no luck so far. I would also like to add the number of upcoming events after each category, and hide empty categories.
I would like the categories page to look like this:
category 1 (upcoming event count) category 1 child 1 (upcoming event count) category 1 child 2 (upcoming event count) category 2 (upcoming event count) category 2 child 1 (upcoming event count) category 2 child 2 (upcoming event count)
etc.
Thanks!
Forum: Themes and Templates
In reply to: [Highwind] move menuThanks this worked great for me!
note: I had to add a selector, .admin-bar, because that’s the way it is called in the parent theme… or use !important.
@media only screen and (min-width: 769px) { .admin-bar .main-nav { postition:absolute; top:300px; }/*Move the main nav menu below the header. Non-responsive only */ }
Forum: Plugins
In reply to: [Search & Filter] Show post counts and hide empty cats/tagsAwesome thanks!