Download the plugin to install

I receive Please select a file problem when trying to download a plug-in ZIP file.

enter description of image here

URL rewrite – How to replace the registered taxonomy URL of the provider plugin in the child theme

In a provider plugin, I got this:

        register_taxonomy( 'listing-region', 'listing', array( 'rewrite' => false, 'hierarchical' => true, 'label' => __( 'Regions', 'bt_plugin' ), 'singular_name' => __( 'Region', 'bt_plugin' ), 'show_admin_column' => true ) );

To avoid locking the plugin update, I would like to overwrite the & # 39; rewrite & # 39; in the child theme to get this: <=>

How can I do this?

For now, I have tried this in functions.php:

function theme_child_custom_rewrite() {
    //Ensure the $wp_rewrite global is loaded
    global $wp_rewrite;
    //Call flush_rules() as a method of the $wp_rewrite object
    $wp_rewrite->flush_rules( false );
    add_rewrite_rule('^region/(.*?)$', 'index.php?listing-region=$matches(1)', 'top');
add_action('init','theme_child_custom_rewrite', 1000);

function listing_region_term_link( $post_link, $id = 0 ){
    $post = get_post($id);
    if ( is_object( $post ) ){
        $terms = wp_get_object_terms( $post->ID, 'course' );
        if( $terms ){
            return str_replace( '%listing-region%' , $terms(0)->slug , $post_link );
    return $post_link;
add_filter( 'term_link', 'listing_region_term_link', 1, 3 );

plugin development – Invalid menu items – The most interesting question

The question needs it so I caught the error.
please watch it. if it does not open, please try this:

I asked the question on the youtube video so I only share the code like what I said on the video.

I hear this video, video, video are you youtuber? : D no, you had to

this one works:

function deneme() {

    // Add new taxonomy, make it hierarchical like categories
    //first do the translations part for GUI

        $labels = array(
            'name' => _x( '000', 'taxonomy general name' ),
            'singular_name' => _x( '000', 'taxonomy singular name' ),
            'search_items' =>  __( '000' ),
            'all_items' => __( 'All Locations' ),
            'parent_item' => __( 'Parent Locations' ),
            'parent_item_colon' => __( 'Parent Location:' ),
            'edit_item' => __( 'Edit Location' ),
            'update_item' => __( 'Update Location' ),
            'add_new_item' => __( 'Add New Location' ),
            'new_item_name' => __( 'New Topic Location' ),
            'menu_name' => __( '000' ),

    // Now register the taxonomy

        register_taxonomy('000',array('post'), array(
            'hierarchical' => true,
            'labels' => $labels,
            'show_ui' => true,
            'show_admin_column' => true,
            'query_var' => true,
            'show_in_rest' => true,
            'rewrite' => true,
            'rewrite' => array( 'slug' => '000' ),
            'has_archive' => true,


    add_action( 'init', 'deneme', 0 );

and here is the source of the problem:

these days i select prayer for function names: D like masallah (i hope the god protects) or insallah (i hope god will help become real) but yes i am here to ask: D

// 2. ekleme

function masallah() {

// Add new taxonomy, make it hierarchical like categories
//first do the translations part for GUI

    $labels = array(
        'name' => _x( 'Districts', 'taxonomy general name' ),
        'singular_name' => _x( 'District', 'taxonomy singular name' ),
        'search_items' =>  __( 'Search Districts' ),
        'all_items' => __( 'All Districts' ),
        'parent_item' => __( 'Parent Districts' ),
        'parent_item_colon' => __( 'Parent District:' ),
        'edit_item' => __( 'Edit District' ),
        'update_item' => __( 'Update District' ),
        'add_new_item' => __( 'Add New District' ),
        'new_item_name' => __( 'New Topic District' ),
        'menu_name' => __( 'Districts' ),

// Now register the taxonomy

    register_taxonomy('Districts',array('post'), array(
        'hierarchical' => true,
        'labels' => $labels,
        'show_ui' => true,
        'show_admin_column' => true,
        'query_var' => true,
        'show_in_rest' => true,
        'rewrite' => true,
        'rewrite' => array( 'slug' => 'districts' ),
        'has_archive' => true,


add_action( 'init', 'masallah', 0 );

plugin development – Activate user in code (BuddyPress + bbpress)

It's crazy, but my client wants to delete the activation email that BuddyPress sends for activation – she thinks the double optin that the mass mail service is sending is “ sufficient & # 39; & # 39; – it was pretty easy to do by putting the email in draft mode without touching any code.

My plugin makes an API to deliver the email that has just been registered (WP user regiatration) to the mass mail service and it works fine. The double opt-in email from the mass messaging service becomes the new email address.

But after forwarding the email address, I need to move the new user from the Pending page in the users to the main users page with a role / wp capacity of "Subscriber" and a capacity / role BuddyPres / "Participant" bbpress without the customer having to enter and activate the user by hand. I've been looking for the WP codex and the BuddyPress codex for advice on an action or filter hook that will do it, but no luck so far. I even went so far as to try direct sql mods in the wp_users and wp_usermeta tables, but no luck, although mods to other elements like display_name, etc. have worked well.

I know the dangers of this and have explained them carefully to the client, but she still wants to move on. She will only have to take the lesson the hard way when her forum fills up with porn. I intend to implement this so that it is easily reversible, but it only has to cross this dark valley.

Help on a code that I can pull from my plugin that will fully activate a user as described above? Thanks for your kind help – no code examples here to share because 6-8 methods I tried were all lamentable failures.

woocommerce – Pass WCMp provider data to another plugin (WP store locator)

I am fairly new to the wordpres / WooCommerce / php section.
I use the WCM multi-supplier market plugin (WCMp) to have multiple suppliers.
I would need the data from these suppliers (name and address of the shop) and transmit it to another plugin -> WP Store Locator

So that all sellers are created a point on the map.

My first attempt was to get this data from the WP database, but it is not listed (or I just couldn't find it). But anyway … The data from the WordPress Store localization plugins will not be in the database either, so it wouldn't work at all.

Any ideas on how to make this (fairly simple) possible?

Thank you for all the advice.

Forms – Class Registration Plugin?

I'm looking for a wordpress plugin that allows people to sign up for a class / training, maybe even an event.

At the moment, I'm using a Gravity Forms form on one page and it allows users to sign up for a training course.

It would be better if I could have a text on the program and then a form for them to register. Or even a link that users can click to guide them through the registration steps.

Anyway, is there a username and password for people who sign up for something like a class?
That way I could have a database of people registering for a course. They would register for themselves and could then register for the courses under their own portals. Similar to what I have below in the example image.enter description of image here

Error with purchased plugin: "The update failed. Error message: the response is not a valid JSON response."

I'm new to Yootheme and bought the base package, which I tested on website 1. When I follow the same steps to install on website 2, I see

The package could not be installed. No valid plugin was found.

I disabled and deleted the theme from website 1, tried again to install it in website 2 and got the same error.

I reinstalled WordPress from scratch (bitnami and AWS), and I still get the same error. When I reinstall the plugin on website 1, I also get the same error.

This page suggests that this is a problem with SSL, so I have checked that and everything seems to be in order.

How can I fix it?

magento2 – Replace / deactivate the third party plugin (Amasty Shop By) which is not declared

I have been fighting with this one for some time, but I do not know how to deactivate, in order to replace, a plugin in the Amasty store by extension. I need to replace a few methods in the plugin, but since they are set to private and use private variables declared in the class, I think I should just disable this specific plugin and replace it with mine.

The problem I have is that the plugin does not seem to be declared / named in the di.xml files present in the extension, but there are some additional plugins in the extension that it ; extend, and these plugins are named in di.xml.

The plugin I am trying to replace is here: vendor/amasty/shopby/Plugin/Ajax/Ajax.php

There are 2 plugins (in the same directory as above) which extend it and are named in vendor/amasty/shopby/etc/frontend/di.xml as below:

I have created and saved my module, and my attempt to deactivate and replace the plugin is as follows:

It's likely that I'm missing something obvious here, acknowledging all the pointers in the right direction.

Any WordPress theme and plugin for the blog with a subscription plan?

This is Webdesign & development.

My client wants the magazine website with a subscription plan. He wants to post a few topics on the website if visitors want to read all the topics they need to buy a subscription.

Only the subscriber can read all the magazine topics.

I'm a medium level WordPress developer, I don't know how to do it.

I can't find any competitor or reference website.

Can anyone suggest a theme or plugins for it?

Thanks in advance.