Easy Property Listings WordPress Real Estate Plugin › Forums › Extensions › Staff Directory › Problems Styling Staff Directory in Divi
Tagged: Divi, staff directory, theme
- This topic has 14 replies, 3 voices, and was last updated 7 years ago by
Merv Barrett.
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
July 1, 2015 at 11:21 am #13491
Suzanne Grimmond
SpectatorHi, I’m using Divi from Elegant themes and having issues with Staff Directory
1. When adding first staff member my page background is transparent and my page Header not showing. Was wanting to display 3 members across.
2. Also Is it possible to have extra fields in User Profile for Phone, Fax & Office Address? So these are displayed under Mobile.
Thanks in Advance
Attachments:
You must be logged in to view attached files.July 2, 2015 at 12:08 am #13525Merv Barrett
KeymasterThis reply has been marked as private.July 2, 2015 at 10:33 am #13531Suzanne Grimmond
SpectatorHi Merv,
I hope a solution for Divi can be done, as I have purchased a Developer Bundle of Easy Property Listings & have 2 other Real estate Sites I have to develop after this one, I hoping I dont have to go back to Open Door Theme. Please find below a zipped copy of Divi Theme. I use Divi with all my websites and use Page builder for each Page.I have had to do massive CSS changes to get each property listing looking reasonable.
ISSUES
1. I have noticed that every page Easy Property Listings is connected to the Header section with Page title does not show.2. When adding first staff member my page background is transparent and my page Header not showing. Was wanting to display 3 members across x 2 rows
3. I was wanting SOLD Properties to go on a separate page. I have tried using shortcode but an 404 error comes up.
[listing post_type=”property” status=”sold”]
4. Also Is it possible to have extra fields in User Profile for Phone, Fax & Office Address? So these are displayed under Mobile in Agent widget.
5. Is there a form that can be attached to each property so the Property address is auto in the subject? I’m using Contact 7 Form which I used in Open Door Theme and it used this feature?
6. Do you have a service to setup Feedsync to Rockwell REST?
I have already in Child Theme archive-listing.php & single-listing.php which I got off the forum for Divi.
Link to website I trying to setup http://executiverealty.com.au
Link for Divi Theme in Dropbox: *Theme link removed
Thank you in advance, Sue.
-
This reply was modified 7 years, 1 month ago by
Merv Barrett.
July 2, 2015 at 8:32 pm #13546Merv Barrett
KeymasterThanks for the theme download you can grab the Divi template files here and check out the demo site.
July 2, 2015 at 8:56 pm #13550Merv Barrett
KeymasterHi Sue,
Going to answer your other questions below and thanks for purchasing the Developer Bundle 🙂
1. I have noticed that every page Easy Property Listings is connected to the Header section with Page title does not show.
— The way EPL works is as best as possible based on all the different themes. The included templates work for a lot of themes but not all 🙁 Working on this in 2.2 which is in testing now. The supplied Divi templates are using your theme code and just inserting the EPL functions for the actual display of a listing.
2. When adding first staff member my page background is transparent and my page Header not showing. Was wanting to display 3 members across x 2 rows.
- This will require a similar setup to the single-listing.php and archive-listing.php files. Replicate them and rename to single-directory.php and archive-directory.php. This is how wordpress works with post types single-{POST_TYPE}.php
- Also being improved in 2.2.
- Staff Directory extension templates for Divi are here.
3. I was wanting SOLD Properties to go on a separate page. I have tried using shortcode but an 404 error comes up.
[listing post_type=”property” status=”sold”]
Incorrect quotes cause shortcode issues, try:
[listing post_type=property status=sold]
4. Also Is it possible to have extra fields in User Profile for Phone, Fax & Office Address? So these are displayed under Mobile in Agent widget.
— Will look at updating Staff Directory extension. Updates in progress.
5. Is there a form that can be attached to each property so the Property address is auto in the subject? I’m using Contact 7 Form which I used in Open Door Theme and it used this feature?
Unsure about how to do that with Contact Form 7 as I use Gravity Forms. Which we can auto populate the form with listing data. If Contact Form 7 is on a single listing page and you can use the_title() then you can add the address using a hidden field.
6. Do you have a service to setup Feedsync to Rockwell REST?
— We sure do Check the feedSync installation service here.
Remind me if i’ve missed something above 🙂
July 3, 2015 at 12:52 pm #13593Suzanne Grimmond
SpectatorThis reply has been marked as private.July 6, 2015 at 9:05 pm #13760Merv Barrett
KeymasterQ 1. I have managed to fix Page titles appearing in Property, Rentals and got Sold page working with the following. But cannot work out for Directory (Staff Members), not sure if its because of no shortcode to add in page? My client wants the sidebar changed for this page except I cant alter without using Divi’s Page builder to allocate a sidebar to us.
http://www.executiverealty.com.au/directory/
That is the directory page showing your staff members. Divi isnt the best theme for custom post types but you can use a plugin like widget logic on your archive page a is
is_post_type_archive query check
You can insert this in your widgets to restrict a widget to a specific query.
is_post_type_archive(‘directory’)July 8, 2015 at 9:33 am #13805Suzanne Grimmond
SpectatorHi Merv,
Thanks for your reply on Directory page issue. I have added widget logic, works but it also takes off the Staff member for each single page property listing as well. Both single page listing & directory are using same sidebar.Would like to keep on properties, but not to show sidebar on the Staff directory page.
Regards
SueJuly 9, 2015 at 7:04 pm #13854Merv Barrett
KeymasterAh easy fix, use
is_post_type_archive(‘property’) || is_post_type_archive(‘rental’)
July 14, 2015 at 6:51 pm #13973Carolyn Wilson
SpectatorThis reply has been marked as private.July 15, 2015 at 6:18 am #13986Carolyn Wilson
SpectatorThis reply has been marked as private.July 15, 2015 at 2:08 pm #14022Merv Barrett
KeymasterNo problem Carolyn, no need for a shortcode, you can add /directory/ to your site URL to access the staff members. You may need to update the extension to improve the display or adjust your theme CSS.
August 17, 2015 at 3:30 pm #16845Suzanne Grimmond
SpectatorThis reply has been marked as private.August 17, 2015 at 3:35 pm #16846Merv Barrett
KeymasterHi Sue,
We re-constructed the template and you need to update your theme archive-directory.php
Exchange
<?php while ( have_posts() ) : the_post(); $post_format = get_post_format(); ?> <article> <?php if ( has_post_thumbnail() ) { echo epl_sd_single_simple_card(); } else { echo epl_sd_single_simple_card_grav(); } ?> </article> <!– .et_pb_post –> <?php endwhile; ?>
with
<?php $dir_counter = 1; while ( have_posts() ) : // The Loop the_post(); if( is_sd_section_title() ) { epl_sd_loop_template($dir_counter,'section-header'); } else { if ( has_post_thumbnail() ) { epl_sd_loop_template($dir_counter,'simple-card'); } else { epl_sd_loop_template($dir_counter,'simple-grav'); } } $dir_counter++; endwhile; // end of one post ?>
-
This reply was modified 7 years ago by
Merv Barrett.
August 17, 2015 at 3:38 pm #16847Merv Barrett
Keymaster#2. What is the URL to the dashboard page with the widget?
2. Also adding EPL-Staff Directory Author widget in sidebar with the below in Widget Logic, does not show anything? Or without.
is_post_type_archive(‘property’) || is_post_type_archive(‘rental’)
-
This reply was modified 7 years, 1 month ago by
-
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
- The forum ‘Staff Directory’ is closed to new topics and replies.