jockebq
Forum Replies Created
-
@bueltge I replied here: https://github.com/bueltge/adminimize/issues/140
Thank you!@simbian sadly I found no workaround. So we have to wait and see if @bueltge finds any solution.
I also created an Issue on Github:
https://github.com/bueltge/adminimize/issues/140Hope for a quick solution!
I think this is the same issue I have: https://www.ads-software.com/support/topic/wordpress-5-5-breaks-functionality-of-custom-options/
Since WP 5.5 the custom options are no longer hidden.
Forum: Plugins
In reply to: [VS Event List] Search only today?@guido07111975
You were right, that was a lot of work.
I have another idea, but don’t know if I can make it work:
Using this code:function SearchFilter($query) { if ($query->is_search) { $query->set('post_type', 'event'); } return $query; } add_filter('pre_get_posts', 'SearchFilter');
This works good to make search only work for event post type. But would it be possible to somehow get the $today or
event-start-date
+event-end-date
to only include todays results?Forum: Plugins
In reply to: [VS Event List] Search only today?Would it be possible to do without any additional plugin? I have created a custom theme and page template for search.
Forum: Plugins
In reply to: [VS Event List] Search only today?Is it possible to filter the search results page? To do a check against the meta data or something?
Forum: Plugins
In reply to: [VS Event List] Search only today?@guido07111975
At the moment with this<?php get_search_form(); ?>
But that results in searching the whole WordPress page, which I don’t want either. I just want to search and find today’s events.- This reply was modified 6 years, 4 months ago by jockebq.
@bcworkz yes exactly. The clients will be viewing a page, and when a change is made I want the clients browser to refresh/reload. It doesn’t matter if the whole page is reloaded, the thing is I don’t know how to detect when a widget is added/removed or changed. How would you do this with jQuery?
Forum: Plugins
In reply to: [Adminimize] Hide/disable nav-menus.php + standard post type?I tried adding this to the theme’s functions.php:
add_posts_page( $page_title, $menu_title, $capability, $menu_slug, $function);This makes the Posts item show up in the dashboard menu. But in Adminimize it is not shown under Menu Options at all?
I have tried to Update Adminimize clicking Update Options, but it doesn’t show?
Forum: Plugins
In reply to: [VS Event List] PHP Count current events?Wow!! That was very nice of you! It works perfectly! Thank you!
Forum: Plugins
In reply to: [VS Event List] PHP Count current events?Aha! Great find, i read through it, but VSEL works differently right? That function applies to the last 24 hours. And your current events will be current date, not last 24 hours, How would you do this for the current day instead?
Forum: Plugins
In reply to: [VS Event List] PHP Count current events?Don’t remember the name right now but I dont think the ID is what matters, but I cannot figure out how to get the number of posts/events on the current day. Do you know which php function to call?
Forum: Plugins
In reply to: [Adminimize] Hide everything but Customize (in Appearance)?I mean the left sidebar in the admin dashboard (the regular menu).
Because when you disable all submenu items in a menu, the last remaining item will be moved to it’s parent. But in the case of Customize and Appearance it will keep the menu Appearance and the submenu item Customize even if it is only one item?Forum: Plugins
In reply to: [Adminimize] Hide/disable nav-menus.php + standard post type?Yes, the menu item for default post is inactive in my theme, so it is not visible in Adminimize.
I can still reach it from /post-new.php
I tried adding edit.php to Menu Options, and checked all three options, including the one called Add New (Slug: post-new.php)[__10]. But I can still reach /post-new.php with a user who has this role.Weird that it is not working!
Do you know the setting to add to disable /nav-menus.php too?Forum: Plugins
In reply to: [Adminimize] Hide/disable nav-menus.php + standard post type?Do you have any Idea why i cant hide standard post, is it Because it is not enabled in my theme? I want it disabled when visiting the URL. Same with nav-menu.php