Completed

Build a Wordpress plugin to hide/show content

We need a custom plugin built for our website. The example site is currently located here: [login to view URL]

The idea of this plugin is to allow the website to display different content based on the user's location (they select this from a menu, no geo-tracking involved). The user selects their location from a dropdown which stores their selection in a cookie. From then on each page will have different sections that will be hidden or shown based on their choice.

For example:

- User selects "USA" for location

- User visits page with this code:

<div class="loc USA"> USA text </div>

<div class="loc Brazil"> Brazil text </div>

<div class="loc Mexico"> Mexico text </div>

- The user would only see "USA text" based on their location selection

This code would apply to a few different areas, project specifics are below:

1. This should be an actual packaged (zip) plugin file, not custom coded for only this site. Must be self contained.

2. In admin section: under 'Settings' add link for City Manager

- At top have a short description of the plugin

- This page allows the admin a place to add/remove available cities/locations

- Page should have a jquery based way to add cities to a list (no refresh page for each new city added, only save after all cities are added)

- Options per city are: City Name, Slug (can be auto generated, unique id used in rest of site to determine content)

- Buttons to delete existing city

- Button to add new city

- See screen shot for rough example

3. Menu Structure Hook

- Ability to hide/show a menu item based on the location

- In the admin section when editing a menu add option under each menu item "Limit by Location" checkbox.

- If the checkbox is selected it will expand a list of the available locations (from City Manager) with text "Check cities to display for"

- If this is enabled then that menu item will be hidden for everyone, except the selected locations.

- If option is not enabled the menu item appears for all users

- See screen shot for example

4. Hide Content by Class

- Add a hook to hide/show areas based on HTML class for elements

- User adds two classes to elements

- 'loc' class identifies this element will be tied to the plugin

- additional classes are the 'slug' defined in the City Manager. So an element with class="loc Mexico" would only display for users who selected Mexico

- It may be better to use class and rel attributes, instead of only class. rel for the slug. You determine which is easier.

- These should function everywhere on the site. ie. widgets, text areas, posts, pages, etc.

5. Short Code for Adding the Location Dropdown menu

- Plugin should include a short code to place a dropdown menu on the page.

- short code is [location-selector]

- Where ever this code is added in the site it will be replaced with a dropdown similar to the attached screen shot. A similar dropdown can also be see at: [login to view URL]

- The values will pull from the cities added in the 'City Manager' admin section

- Before the dropdown element add text 'Your City - {current city}'

- When user selects a city it will:

a. store a cookie for user: pflocation = {the slug they selected}

b. Cookie should stay valid for a long time so if they come back later it remembers their selection

c. Without reloading the page show/hide any menu items or content that matches their selection (use jquery, not page reload)

6. Change location based on URL parameter

- Add a function that checks for a URL parameter 'pflocation'

- Example is [login to view URL]

- If that parameter exists automatically add the cookie for that slug and update the page to show/hide menu items and content based on the selection

If you have better ideas of how this should function the exact specifics can change. Please let me know if you have any questions about the project.

Skills: HTML, jQuery / Prototype, PHP, Website Design, WordPress

See more: plugin to build website with wordpress, build domain name portfolio wordpress, search domain name plugin wordpress, php, css, html, wordpress, jquery / prototype, wordpress plugin, domain name search plugin wordpress, wordpress content grabber plugin, wordpress content scraper plugin, export content excel plugin wordpress, local content plugin wordpress, hide content registered users wordpress, content slider plugin wordpress, hide content non registered wordpress, free content slider plugin wordpress, refresh html content plugin wordpress, user submitted content plugin wordpress

About the Employer:
( 396 reviews ) Columbus, United States

Project ID: #13719748

Awarded to:

sureshdevi

I can build a wordpress plugin to hide / show content based on user city location and admin section to be able add / delete cities. I will complete this work in 4 days. Looking for your reply to start this work imme More

$265 USD in 4 days
(1222 Reviews)
8.0

73 freelancers are bidding on average $619 for this job

infoway

Hi, We have reviewed your requirements . As we have many ideas regarding this project, let us have a close discussion so that every details will be clarified. Please have a look on some quality works of our for More

$773 USD in 14 days
(680 Reviews)
9.8
leadconcept

Hi there, I have read everything carefully and seen the attached images, so before we finalize the cost and timeline, we will want you to give us exact list of showing/hiding parts against selection of location. More

$1333 USD in 15 days
(102 Reviews)
9.0
RockStone435

Hello Sir, Good to see your project posted here. I have read all the description very carefully. I would like to discuss further details let me know when you are available for discussion. Looking Forward . Thank you

$350 USD in 10 days
(559 Reviews)
8.7
Softmania

Hi, I would like to talk to you using Freelancer chat please, as i would like to make sure all the things are clear before making an official offer. Please know that the offer made now contain a rough price, the More

$747 USD in 30 days
(466 Reviews)
9.0
KESHAVINFOTECH

Hi Thanks for your valuable time. :-) Please check below points : 1. We need a custom plugin built for our website. The example site is currently located here: [login to view URL] The idea of this p More

$600 USD in 18 days
(795 Reviews)
8.7
sapotacorp

Hi elliottbenzle2. I have checked 6 requirements and the example site. What is your website? I have build many wordpress plugins before. I could show you some of my previous work via chat. I'll build a wp plugin to sh More

$710 USD in 20 days
(999 Reviews)
8.6
SRajpurohit

Hello Sir, This proposal finds you best in health! We are a team of WordPress developers who is assisting globally to our clients. We have worked almost 70+ WordPress website till the date and have experience in More

$1237 USD in 20 days
(305 Reviews)
8.8
bdsiddhi

Dear Employer, Hope You are doing well!! i'm extremely happy to grab this opportunity and willing to represent your thoughts into graphically using latest technology. We have a Team of Innovative Designers and More

$1000 USD in 15 days
(228 Reviews)
8.5
niravvirani17

Give me chance to prove my ability and also quality work i am waiting your positive replay from your side i am highly interested to work with you We have 8 years’ experience in this field and completed many projec More

$394 USD in 10 days
(768 Reviews)
8.2
webqueue

Hi, The over all idea o the plugin is clear to me. But still I need some clarification. We have expertise in plugin development. OUR DEVELOPED WORDPRSS PLUGINS LINKS: ------------------------------------------- More

$555 USD in 10 days
(484 Reviews)
8.7
searchtechnow

Lets Get Start Inbox Me !! Ready to start it now read requirement very carefuuly .. Looking forward positive responsefrom your side. Having more than 400+ review on freelancer in last 2 years . Check this lin More

$526 USD in 10 days
(422 Reviews)
8.3
seekdeveloper

Hi, I have read your post and understood your requirement. Looking for the freelancer to work on your next project? Or just need some issues/bugs/fixes ASAP? I have 8+ years of experience and I'm here for you! My More

$773 USD in 10 days
(129 Reviews)
8.7
mmagr99

This kind of project is our forte. Our team can definitely complete this for you. This project is pretty straight forward. ready to get this plugin done for you have strong expertise in similar job domain

$1666 USD in 20 days
(193 Reviews)
8.4
Webicules

Hello, Nice to see your website. I really appreciate your effort for writing the plugin functionality and structure. Developing WordPress plugin is one of my forte. I am among top 1000 Freelancer here and known for my More

$750 USD in 10 days
(281 Reviews)
8.2
mituld

Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks

$567 USD in 15 days
(458 Reviews)
8.2
zainy01

Hi! I've seen your requirements and tons of experience in developing/customizing wp plugin and themes, I'm top expert in in developing/customizing wp widgets and plugins such as storelocator, sliders with backend manag More

$700 USD in 10 days
(142 Reviews)
8.0
creativewebideas

Dear Client, Thank You for your time on my bid of your valued project.I am confident that I will provide you the quality of service no one else will. Here are some of the links of our Wordpress sites, all these site More

$526 USD in 10 days
(214 Reviews)
8.2
RBird

This is a real bid! A quality site for a fair price! I build all types of websites. Custom sites, WP Sites, all programming languages and databases. After project support is always provided. Some samples; [login to view URL] More

$833 USD in 25 days
(56 Reviews)
7.5
humashahid80

Special Offer: We are offering 3 free mockup designs before hiring us + 30 days free maintenance support facility. Hi! We understand that you are looking for a customization of the plugin that allow the website t More

$750 USD in 3 days
(97 Reviews)
7.5
hardcode4u

Dear Sir, Our kind regards to you. My name is Ishant Gupta and I am well-qualified PHP and Wordpress developer having an experience of 7+ years. I have read complete plugin specifications and can do this Plugi More

$736 USD in 30 days
(144 Reviews)
7.5