Problems Styling Staff Directory in Divi

Easy Property Listings WordPress Real Estate Plugin Forums Extensions Staff Directory Problems Styling Staff Directory in Divi

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

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #13491
    Suzanne Grimmond
    Spectator

    Hi, 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.
    #13525
    Merv Barrett
    Keymaster
    This reply has been marked as private.
    #13531
    Suzanne Grimmond
    Spectator

    Hi 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.
    #13546
    Merv Barrett
    Keymaster

    Thanks for the theme download you can grab the Divi template files here and check out the demo site.

    #13550
    Merv Barrett
    Keymaster

    Hi 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 🙂

    #13593
    Suzanne Grimmond
    Spectator
    This reply has been marked as private.
    #13760
    Merv Barrett
    Keymaster

    Q 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’)

    #13805
    Suzanne Grimmond
    Spectator

    Hi 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
    Sue

    #13854
    Merv Barrett
    Keymaster

    Ah easy fix, use

    is_post_type_archive(‘property’) || is_post_type_archive(‘rental’)

    #13973
    Carolyn Wilson
    Spectator
    This reply has been marked as private.
    #13986
    Carolyn Wilson
    Spectator
    This reply has been marked as private.
    #14022
    Merv Barrett
    Keymaster

    No 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.

    #16845
    Suzanne Grimmond
    Spectator
    This reply has been marked as private.
    #16846
    Merv Barrett
    Keymaster

    Hi 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
    ?>
    #16847
    Merv 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’)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 15 posts - 1 through 15 (of 15 total)
  • The forum ‘Staff Directory’ is closed to new topics and replies.