Forum: WP Users Geolocation

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the WP Users Geolocation premium extension please open a new premium support ticket.

WP Users Geo-location (gmw-users-geolocation) child template

Forums WP Users Geolocation WP Users Geo-location (gmw-users-geolocation) child template

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #31666
    David Lyon
    Member

    Hi,

    Great plugin.

    I would like to create a child theme templates for both the search-forms and search-results.

    I have tried copying to the child theme folder like this:-

    child-theme-folder/gmw-user-geolocation/search-forms/default/css/style.css
    child-theme-folder/gmw-user-geolocation/search-forms/default/search-form.php

    enfold-child/gmw-user-geolocation/search-results/default/css/style.css
    enfold-child/gmw-user-geolocation/search-results/default/search-form.php

    unfortunately it does not work. I’m sure it is a simple problem to resolve or is not possible in this module.

    I have seen this post http://tempform.wpengine.com/support/forums/topic/update-safe-changes-to-template-files/ but it doesn’t work for WP User Geo-location when I follow a similar structure.

    Any help would be much appreciated.

    Regards
    David

    #31673

    Thank you for the feedback and support David.

    All types of GEO my WP child theme should go under the folder geo-my-wp which should be created in the theme/child theme of your site. Under geo-my-wp folder you will need to create the folder of the add-on. IN the case of Users-geolocation the solder name should be wp-users.

    And so, you should have your folder structured as below:
    child-theme/geo-my-wp/wp-users/search-forms….
    child-theme/geo-my-wp/wp-users/search-results….

    Please try that and let me know if it works for you.

    Thank you

    #31672
    David Lyon
    Member

    Hi Eyal,

    Thanks for the prompt response.

    Before you replied – I made the following changes in the plugin directory I made a copy of:-

    plugins/gmw-users-geolocation/search-forms/blue folder and called it streetfit (client name)
    plugins/gmw-users-geolocation/search-results/blue folder and called it streetfit

    both of these then appeared in the Admin panel and I set both search-forms and search-results to streetfit. This worked perfectly as I could edit the css in the streetfit folders. (see plugin directory attachment)

    After you replied I moved these to the folder you suggested (see child theme directory attachment)

    child-theme/geo-my-wp/wp-users/search-forms/streetfit/
    child-theme/geo-my-wp/wp-users/search-results/streetfit/

    When I tested the option to select street fit in the admin panel had disappeared and no changes were available.

    I then added streetfit folders back into the plugin directory and I could select streetfit from the admin panel. I then tested and found that search-results/streetfit/style.css in the plugins directory was still the active stylesheet.

    Finally, I tried copying the blue folder to the child theme but alas it still used the blue plugin directory rather than the child theme.

    I can only presume from this that the child theme files are not quite right. Any help would be most appreciated.

    Off subject. Author template – which files does it use in the plug as I can’t find them.

    Regards
    David

    #31671
    David Lyon
    Member
    This reply has been marked as private.
    #31670
    This reply has been marked as private.
    #31669
    David Lyon
    Member

    Hi Eyal,

    Unfortunately users are not able to create posts as they only have access to their profile via the front end. The user that is working is because he raised a support ticket in the support system and I believe that this is what is allowing that user to be seen as an author.

    What I am considering is creating a custom page and accessing it via a POST or GET request rather than the Author link. Do you think that would work?

    Regards
    David

    #31668

    I believe you could set up something like that. Are you thinking to pass the user ID via GET?

    I believe that you can create a post in the admin and assign it to another user. You should have an author dropdown to choose from in the Edit post page. I just want to be sure that this is the issue.

    #31667
    David Lyon
    Member

    Hi Eyal,

    After much checking it turned out to be the nickname being different to the username, or so I believe. I can’t work out why this is the case as I’ve checked all other users on the site and they all match so hopefully this problem should be resolved now.

    I will need to get the child theme working properly as shown in #18334 above but this is not a panic.

    Regards
    David

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.