Forum Replies Created

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thanks for looking into this; I’ll try your suggestions later tonight.

    I don’t see a way to put your short code directly into that section unless it’s via the home.php module. There isn’t an actual page for the home page that I can edit; all of its options are set in the Elegant Themes control panel. I can over-ride the default behavior, which is specified in home.php, by choosing a page to insert into section 3 via the ePanel.

    Check out this screen shot of the Elegant Themes ePanel; it shows that I’ve set section 3 as active and set it to the page where I’m using your short code for the Slideshow view I created.

    https://screencast.com/t/wyZ4oFxD

    So, since there isn’t an actual editable page for the Home page, where I might put a short code or a widget, I have to use the settings in ePanel to point to a separate page which gets embedded in the specified section. My only other option is to edit the home.php code; if that’s an option, then perhaps I could put the short code there?

    Thanks for your replies; I really appreciate the assistance.

    It looks like it’s set up in home.php. Here’s a snippet of code that looks relevant. Keep in mind that references to “testimonials” refer to the theme’s built-in testimonials function, which I am trying to replace with Strong. Also, I do have this set up as a child theme; so if we want to completely change this code in order to use your short code, that’s fine.

    <?php if ( $i == 3 ) { ?>
    <?php if ( get_option(‘mycuisine_use_area3’) != ‘on’ ) { ?>
    <h3 class=”title”><?php esc_html_e(“Customer Testimonials”,’MyCuisine’); ?></h3>
    <?php
    $testimonials_args = array(
    ‘post_type’ => array(‘testimonial’),
    ‘posts_per_page’ => ‘1’,
    ‘orderby’ => ‘rand’
    );
    $testimonials_query = new WP_Query( $testimonials_args );
    while ( $testimonials_query->have_posts() ) : $testimonials_query->the_post(); ?>
    <div class=”testimonials-item”>
    <div class=”testimonials-item-bottom”>
    <div class=”testimonials-item-content”>
    <?php
    $thumb = ”;
    $width = 56;
    $height = 56;
    $classtext = ‘item-image’;
    $titletext = get_the_title();
    $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext,false,’Testimonial’);
    $thumb = $thumbnail[“thumb”];
    ?>
    <?php if ( $thumb <> ” ) { ?>
    <div class=”thumb”>
    <?php print_thumbnail($thumb, $thumbnail[“use_timthumb”], $titletext, $width, $height, $classtext); ?>
    <span class=”overlay”></span>
    </div> <!– end .thumb –>
    <?php } ?>
    <p class=”author”><?php the_title(); ?></p>
    <?php the_content(”); ?>
    </div> <!– end .testimonials-item-content –>
    </div> <!– end .testimonials-item-bottom –>
    </div> <!– end .testimonials-item –>
    <?php endwhile; wp_reset_postdata(); ?>
    <?php } else { ?>
    <?php

    I’m using the MyCuisine theme from Elegant Themes. It has a Home Page options page on the Appearance menu where you either use built-in formatting for the footer of the home page, in three sections, or you can specify a page to embed in any of the three sections of the footer. I created a page that points to a Slideshow View and set the MyCuisine Home Page Section 3 to that page. The content shows up, but it doesn’t show up as a slideshow. Do you have any suggestions to get it to work?

    wp_head and wp_footer exist.

    The website is https://sardasfusioncatering.com

    Thread Starter mikegrattan

    (@mikegrattan)

    Thanks for the reply Subharanjan. Since posting my question, I found another Testimonials plug-in that is working for me. I appreciate your reply, but I will be using the other plug-in since it is working without having to add any supplemental code.

    Thread Starter mikegrattan

    (@mikegrattan)

    Are you saying that RSS or JSON can be used to execute an SQL query? And that would feed the data from the backend tables to generate markers? If that’s not what you’re saying then I’m afraid I’m not understanding your point number 2 above. Although vTiger is a 3rd party application, the data are stored in tables that I can access via phpMyAdmin so I’m guessing that the technology should exist (php) that could be used to populate map markers via a query…unless I’m missing something?

    Thread Starter mikegrattan

    (@mikegrattan)

    The site is at https://pmppals.net and our existing map is on https://pmppals.net/listing-type/surgeon/. On this page, you can see a QuickView fly-out on the right side of the page and some filters on the bottom of the page. This plugin is actually built into the theme and is lacking some features. We also tried another plugin (WP Google Maps) which you can see on https://pmppals.net/find-a-surgeon/; this one is a little better because you can search the data stored in the plugin and sort on the column headers.

    Our goal, however, is to be able to feed data to the map from our contacts database, which is vTiger self-hosted which we installed to our site via Softaculous. Since the vTiger contacts database can be queried I was hoping that we could tie our contacts database to a Google Maps plugin so our patients and caregivers have an always-up-to-date map of physicians. That way, we just have to maintain our physician data in one location, the vTiger contacts database.

    Thread Starter mikegrattan

    (@mikegrattan)

    The ability to import from CSV might be an option if we can set it up as follows:

    – Query (View) in backend database scheduled to run on a nightly basis and output to CSV on server.
    – Plugin can point to a location on the server for the CSV file and refresh the import on a regular basis.

    Thread Starter mikegrattan

    (@mikegrattan)

    I never received any responses to my question so I uninstalled SimpleModal Login and found another login/registration plug-in called Sideways8.

Viewing 9 replies - 16 through 24 (of 24 total)