betagoo
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Posts in Custom Menu] Performance problem – many database queriesI don’t need private support.
I wanted help plugin author.
I can give him environment for tests.Forum: Plugins
In reply to: [Category Posts in Custom Menu] Performance problem – many database queriesIf you want test my website, pelase write to me at [Email redacted]
I will send You full access to my website.
This is page for test, so You can do everything.Forum: Plugins
In reply to: [DM Confirm Email] Does not work with Theme My LoginConfirm, does not work with Theme My Login.
Forum: Plugins
In reply to: [Menu Cache] Change cache timeSolution.
function fnc_Menu_Cache() { class Menu_Cache_Extender extends Menu_Cache { function __construct() { $this->cache_time = DAY_IN_SECONDS; add_filter( 'wp_nav_menu', array( $this, 'set_cached_menu' ), 10, 2 ); add_filter( 'pre_wp_nav_menu', array( $this, 'get_cached_menu' ), 10, 2 ); add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'purge_admin_link' ) ); add_action( 'wp_update_nav_menu', array( $this, 'refresh_cache' ) ); add_action( 'admin_init', array( $this, 'purge_cache' ) ); add_action( 'plugins_loaded', array( $this, 'localization' ) ); } } new Menu_Cache_Extender(); } add_action( 'init', 'fnc_Menu_Cache');
Forum: Plugins
In reply to: [WP Nav Menu Cache] Plugin not work properlyPlugin should create menu cache files for everyone single URL.
This solve the problem current menu item class assigned to current page menu position.Forum: Plugins
In reply to: [Category Posts in Custom Menu] Exclude single postsWorks great.
Both methods, as plugin and as code into functions.php
Thank You wery much.Forum: Plugins
In reply to: [Category Posts in Custom Menu] Exclude single postsI understand.
Thank You very much.Forum: Plugins
In reply to: [Category Posts in Custom Menu] Exclude single postsThere is solution;
After line 71 add code:
delete_post_meta($nav_menu_item->ID, 'cpcm-item-exclude');
After line 217 add code:
$query_arr['exclude'] = get_post_meta($menu_item->db_id, "cpcm-item-exclude", true); // default value of 0 skips no posts
After line 358 add code:
update_post_meta( $menu_item_db_id, 'cpcm-item-exclude', (int) ($this->__empty( $_POST['menu-item-cpcm-item-exclude'][$menu_item_db_id]) ? "-1" : $_POST['menu-item-cpcm-item-exclude'][$menu_item_db_id]) );
After line 522 add code:
<p class="field-cpcm-item-exclude description description-thin"> <label for="edit-menu-item-cpcm-item-exclude-<?php echo $item_id; ?>"> <?php _e( 'Exclude Posts' ); ?><br /> <input type="text" id="edit-menu-item-cpcm-item-exclude-<?php echo $item_id; ?>" class="widefat code edit-menu-item-cpcm-item-exclude" name="menu-item-cpcm-item-exclude[<?php echo $item_id; ?>]" value="<?php $item_exclude = get_post_meta($item_id, "cpcm-item-exclude", true); echo $item_exclude != '' ? $item_exclude : '0'; ?>" /> </label> </p>
Forum: Plugins
In reply to: [Better Menu Widget] multiple css classesAlso, I think it’s a good idea.
Forum: Plugins
In reply to: [BruteProtect] Your IP has been flagged for potential security violations.I have this problem too.
Whitelist not work.
IP: 193.227.116.171Forum: Plugins
In reply to: [WEN Logo Slider] itemsCustom cetingsCan You add variable “itemsCustom” to OWL ciript options?
This allow you to add custom variations of items depending from the width If this option is set, itemsDeskop, itemsDesktopSmall, itemsTablet, itemsMobile etc. are disabled For better preview, order the arrays by screen size, but it’s not mandatory Don’t forget to include the lowest available screen size, otherwise it will take the default one for screens lower than lowest available.
Example:
[[0, 2], [400, 4], [700, 6], [1000, 8], [1200, 10], [1600, 16]]
For more information about structure of the internal arrays see itemsDesktop. Check my Custom Demo: https://owlgraphic.com/owlcarousel/demos/custom.htmlForum: Plugins
In reply to: [WEN Logo Slider] Plugin not work properlyNow work.
There was conflict with other OWL plugin.Forum: Plugins
In reply to: [Media Search Enhanced] Search by post idUser can enter post ID into search form input field.
Search results contains images attached to post.I confirm.
Forum: Plugins
In reply to: [Media Tags] Change URL structure?There is something wrong with rewrites.
Fore example, one mediatag: “fotel-bialy”
https://www.tcmeble.pl/media-tags/sofa-biala/
It’s work perfectly when query vars contains only one media tag.But when set two media tags, there is something wrong.
https://www.tcmeble.pl/media-tags/sofa-biala,biale/
Plugin not use mediatag.php template file.For comparsion, this is working example for two media tags and tags_compare=AND
https://www.tcmeble.pl/tagi-zdjecia/?tag=sofa-biala,biale