Okay
  Public Ticket #1141035
Construction Homepage Examples
Closed

Comments

  •  8
    jerrygarciuh started the conversation

    Trying to figure out where settings are for Home Extended layout and Header Transparent?  I would like to work on getting top section of home page similarly laid out http://demo.wpcharming.com/construction/home-extended/

    I have paged through http://www.cwrcontracting.dreamhosters.com/wp-admin/admin.php?page=wpcharming_options&tab=0  several times and looked at theme docs at https://wpcharming.ticksy.com/articles/8347 but have not found the info.

    Any advice most appreciated.

    David

  •  8
    jerrygarciuh replied

    Nevermind- got it sorted.  Your videos mentioned in places here show a Construction menu where you can import demo data.  After some searching around I found that is now under Tools.

  •  216
    David replied

    That's great

    Let us know if you need anything else!

    Kind Regards,

    David - WPCharming Team

  •  8
    jerrygarciuh replied

    Additional CSS

    It seems I may not be allowed to post another ticket while this one is open so I am adding this as a comment-

    My employer wants to replace #fab702  with  #782F40 everywhere.  So I made a child theme and pulled out the 42 rules with #fab702 and placed in child theme, edited, and enabled.  No luck.

    So I go to Customize and place my styles in Additional CSS, save and publish.  No luck...

    I look at the source and after my child theme is included and _after_ my Additional CSS is in the source I see a number of style rules with #fab702 included in the source.

    Where is that coming from and why on earth would it be after my custom CSS?

    Thank you,

  •  8
    jerrygarciuh replied

    I found Theme Options > Styling > Primary Color Schema now and edited but overwriting child theme and Additional CSS like that seems to me to be counter-intuitive.  If I place anything in Additional CSS I would expect it to load last.

  •  8
    jerrygarciuh replied

    Just purchased a second license and on install of freshly downloaded copy I get

    Fatal error: Call to undefined function vc_set_shortcodes_templates_dir() in /home/cycleconstruction/cycleconstruction.dreamhosters.com/wp-content/themes/construction/functions.php on line 250

    I will comment out the call so I can get to work but can you advise?  This did not happen for install on other site.

  •  8
    jerrygarciuh replied

    Apparently your installer does not check for and remove older copies of js_composer plugin.  And since that baked in plugin cannot be uninstalled in traditional way one has to remove directory to get required plugin install prompt...

    Old copies have object class WPBakeryVisualComposerAbstract  but are not compatible with current code...

    My issue resolved with a pretty solid waste of my time...

    Please close this ticket since it appears I am only allowed one at a time.

    if ( class_exists('WPBakeryVisualComposerAbstract') ) {
    vc_set_as_theme( $disable_updater = true );
    require get_template_directory() . '/inc/vc_mods/vc_mods.php';
    require get_template_directory() . '/inc/vc_mods/vc_general_elements.php';
    require get_template_directory() . '/inc/vc_mods/vc_special_elements.php';
    $vc_template_dir =  get_template_directory() . '/inc/vc_mods/vc_templates';
    vc_set_shortcodes_templates_dir( $vc_template_dir );
    add_action( 'wp_enqueue_scripts', 'move_vc_css', 1 );
    }

  •  8
    jerrygarciuh replied

    This ticket is closed but I cannot seem to get your user interface to allow me to add a new one?

    How do I get archive.php to show excerpts and Read More links instead of full post bodies?  I checked the theme options under Blog.  No setting there.

    In WP Settings > Reading > For each article in a feed, show  I have set to Summary.

    http://www.cycleconstruction.dreamhosters.com/news/news-feed/

    Any advice appreciated

  •  216
    David replied

    Hello,

    It is very easy. You just need to open each post edit, then add read more button where you want :

    http://prntscr.com/f7esx2

    Hope it helps!

    Kind Regards,

    David - WPCharming Team

  •  8
    jerrygarciuh replied

    Thank you!  Issue solved.

  •  8
    jerrygarciuh replied

    Hello- are you aware that http://demo.wpcharming.com/construction/  is not loading right now and has been that way some 10 days?  Checked over multiple ISPs and a proxy.  Just keep getting 

    The system returned: (111) Connection refused

    The remote host or network may be down.

  •  216
    David replied

    Thanks for contacting us. We will check this asap!

    Kind Regards,

    David - WPCharming Team

  •  8
    jerrygarciuh replied

    My client has asked if there is a shortcode or other way we can supply Previous and Next links for Projects outside of the Title being enabled?

    Client would like to disable "show title" on these pages http://www.cwrcontracting.dreamhosters.com/project/sr-123sr-85-flyover-okaloosa-co/   and still show previos/next buttons like title area does but in location of their choosing.

    Thanks! 

    Attached files:  2017-06-17 17_19_04-French Quarter Inn – Just another WordPress site.png

  •  216
    David replied

    Hi there,

    Unfortunately we don't have any shortcode. But you can add this in Theme Options => Custom css to hide page title, but still keep the next/prev link : 

    .page-title-wrap h1 { display : none; }

    Let me know how it goes!

    Kind Regards,

    David - WPCharming Team

  •  8
    jerrygarciuh replied

    Yeah, I demo-ed this idea to them when they asked about it.  No go.  

    I may try to hide them and then use jQuery to copy the automated ones to the way they want or we'll just have to do by hand.  Thanks for reply.

  •  8
    jerrygarciuh replied

    So this does what I mean-

    Enable the title on pages but hide w CSS

    .single-portfolio .page-title-wrap {
        display:none;
    }

    Then add this where client wants it

    <div class="portfolio-nav bottom"><a href="#" class="portfolio-prev" title=""><i class="fa fa-angle-left"></i></a><a href="#" class="portfolio-next" title=""><i class="fa fa-angle-right"></i></a></div>

    And populate with this.  I'm sure it could be done more eloquently but I'm in a hurry!

    jQuery(document).ready(function(){
       var prev = jQuery('.portfolio-nav.right a.portfolio-prev');
       var next = jQuery('.portfolio-nav.right a.portfolio-next');
       if (prev && next) {
          jQuery('.portfolio-nav.bottom a.portfolio-prev').attr('title', prev.attr('title'));
          jQuery('.portfolio-nav.bottom a.portfolio-next').attr('title', next.attr('title'));
          jQuery('.portfolio-nav.bottom a.portfolio-prev').attr('href', prev.attr('href'));
          jQuery('.portfolio-nav.bottom a.portfolio-next').attr('href', next.attr('href'));
       }
     });

  •  216
    David replied

    If you want to hide only page title in portfolio page, just need to add this :

    .single-portfolio .page-title-wrap h1 {
        display:none;
    }

    Kind Regards,

    David - WPCharming Team

  •  8
    jerrygarciuh replied

    True, but like I said not what they wanted.  They did not like the top bar for post nav

    In case anyone ever needs a script to clone the post nav links to a new site this was final version which takes into account the absence of a prev or next link at beginning or end of set:

    jQuery(document).ready(function(){
       var prev = jQuery('.portfolio-nav.right a.portfolio-prev');
       var next = jQuery('.portfolio-nav.right a.portfolio-next');
       if (prev.length) {
          jQuery('.portfolio-nav.bottom a.portfolio-prev i').html('');
          jQuery('.portfolio-nav.bottom a.portfolio-prev').attr('title', prev.attr('title'));
          jQuery('.portfolio-nav.bottom a.portfolio-prev').attr('href', prev.attr('href'));
       } else {
          jQuery('.portfolio-nav.bottom a.portfolio-prev').remove();
       }
       if (next.length) {
          jQuery('.portfolio-nav.bottom a.portfolio-next i').html('');
          jQuery('.portfolio-nav.bottom a.portfolio-next').attr('title', next.attr('title'));
          jQuery('.portfolio-nav.bottom a.portfolio-next').attr('href', next.attr('href'));
       } else {
          jQuery('.portfolio-nav.bottom a.portfolio-next').remove();
       }
     });

  •  8
    jerrygarciuh replied

    Is there any way to constrain the Recent News carousel to a post category slug or id?  UI does not show that as an option.

    Thanks,

  •  216
    David replied

    Hi there,

    Unfortunately we don't have the category option to select. We will keep in mind for future

    Kind Regards,

    David - WPCharming Team

  •  8
    jerrygarciuh replied

    Hi David.  Trying to get main blog page copied to child theme for some edits.  Edits to archive.php are not showing and get_page_template() says it is page.php though I'm pretty sure it isn't...  Made sure to clear permalinks in case that entered into it.

    Can you advise?  Thanks!

  •  216
    David replied

    You need to copy the index.php file.

    Kind Regards,

    David - WPCharming Team

  •  8
    jerrygarciuh replied

    Thanks! You rock!

  •  8
    jerrygarciuh replied

    Have you ever had a report that saving settings in Revolution Slider settings sets customized values in Theme Settings back to defaults but that this is not reflected in admin GUI but only in rendered front end?

    I'm about 90% sure not that this is happening.

  •  216
    David replied

    Hey there,

    Sorry but I don't understand your question. Could you clarify please?

    Kind Regards,

    David - WPCharming Team

  •  8
    jerrygarciuh replied

    It appears that there is an interaction when saving Slider Revolution slides with the Construction theme's settings.  We have two licenses and have found on both sites that fonts set under Typography and Primary Color Schema under styling revert to defaults after saving slides.

    Seems very bizarre but the timing of the repeated color and font changes across the two sites suggest that is the cause.

    I went ahead and coded styles for fonts and .btn-primary{} into style sheet as client was getting enraged...

     

  •  216
    David replied

    I've never heard that before. The revolution slider settings couldn't change the theme settings. It is very strange. Really I don't have any clue in this case.

    Kind Regards,

    David - WPCharming Team

  •  8
    jerrygarciuh replied

    Hello,

    I have a two part question for you.

    The first is how to get lightbox functionality on page content?

    I see in your demo site that if I change HREF in developer a link like this one  will open a div w the supplied ID in lightbox

    <a href="#main" class="zoom">

    Is there something I have to do to make lightbox functionality available in the page?

    The second question is whether you know why this error pops up?  I haven't screwed around with anything referencing this except maybe that one of my Essential Grids opens content in light boxes.

    Any thoughts?

    lightbox.js?ver=2.1.0.2 line 572

                //HACK FROM THEMEPUNCH
               e = v(e);                        
               r = u.group[e] || null;
                    var r_id = jQuery(r.element[0].parentNode).closest('.tp-esg-item');
                    r_id = r_id.length>0 && r_id!==undefined ? r_id.attr('id') : "rnoid_0";
               if (!r) {
                   return false
               }

    Uncaught TypeError: Cannot read property '0' of undefined
        at Function._start (lightbox.js?ver=2.1.0.2:572)
        at Function.open (lightbox.js?ver=2.1.0.2:272)
        at Function.n.esgbox (lightbox.js?ver=2.1.0.2:18)
        at HTMLDocument.<anonymous> ((index):659)
        at i (jquery.js?ver=1.12.4:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
        at Function.ready (jquery.js?ver=1.12.4:2)
        at HTMLDocument.K (jquery.js?ver=1.12.4:2)

  •  216

    Kind Regards,

    David - WPCharming Team

  •  8
    jerrygarciuh replied

    Hi David,

    Thank you for the reply.

    Yeah, I should have mentioned- I have added and removed Easy Fancybox, WP Lightbox, Bootstrap Modal, and maybe 6 others looking for one that isn't interfered with.  Presumably by the error I posted.  Not sure but it's the only console output so a good please to start and the fact that it's a lightbox related script too.

    None of the plugins I tried can open a modal...  

    So I tried removing lightbox functionality from the Essential Grid skin I had made in hopes that it would stop adding this to wp_footer() output (I think it is what is triggering error by assuming an element exists not testing if it does) 

    <script>
      jQuery(document).ready(function(){
      jQuery.esgbox({
                    maxWidth    : 700,
                    maxHeight   : 600,
                    fitToView   : false,
                    width       : '70%',
                    height      : '70%',
                    padding     : [30,30,30,30],
                    autoSize    : false,     
            });
     });
     </script>

    But no luck.  Side note- that Ess Grid skin is successful in opening a modal which is why I wanted to see if I could trigger the native functionality...

     I'm hoping deleting the skin and grid that used it might help but I don't have approval yet.  

    I'm sure I could hand roll a modal solution but project is overdue and over budget already.

  •  8
    jerrygarciuh replied

    Hello,

    Got site live.  Thank you for the help with that!  In looking out for 404s I am seeing a huge # for images with @2x inserted before the extension.  I'm assuming this is something to do with retina screen images?

    /wp-content/uploads/2014/03/Cycle-Website-Images1-1@2x.jpg

    Any way to stop that flood?  Makes it impossible almost to find the real 404s.

    Thanks,

    David

  •  216
    David replied

    Hello,

    Please open this file in your theme : http://www.cwrcontracting.dreamhosters.com/wp-content/themes/construction/assets/js/libs.js?ver=4.8.1

    then remove all Retina jquery code.

    Let me know!

    Kind Regards,

    David - WPCharming Team

  •  8
    jerrygarciuh replied

    Thank you!  Made my life easier there!  Peace.  David

  •  216
    David replied

    You're welcome

    Kind Regards,

    David - WPCharming Team

  •  1
    Timur replied

    Hi David, 

    just like on your example page, i want the what we do articles to slide by themselves.  Do you got the ride short code for me ? Unfortunately it doesn't move on my Page.

     Thanks a lot!

  •  1
    Timur replied

    Hi David, 

    just like on your example page, i want the what we do articles to slide by themselves.  Do you got the ride short code for me ? Unfortunately it diesen´t move on my page.

     Thanks a lot!

    Attached files:  What we Do.jpg
      What we Do.jpg

  •  216
    David replied

    Hi Timur,

    Sorry but the Page Children does not have auto play slide.

    Kind Regards,

    David - WPCharming Team

  •  1
    Timur replied

    Hi,

    thanks! On your example page the news area and the what we do area do move. How I create the same effect. Also want to create mega menu just like on your example page the "News Mega" menu area. 

    Thanks for support appreciate !!!

  •  216
    David replied

    Oh sorry. Please open the Page Children item and enable autoplay option :

    https://cl.ly/2f3B3Y1g1b2z

    Also to setup the mega menu, you need to install this plugin :

    https://wordpress.org/plugins/easymega/

    and then do the following here : http://docs.famethemes.com/article/110-easymega-documentation#content-grid

    Kind Regards,

    David - WPCharming Team

  •  1
    Timur replied

    Hi, 

    unfortunately the is no Carousel autoplay area in my Page Children. 

    Attached files:  Bildschirmfoto 2017-10-08 um 19.00.20.png

  •  216
    David replied

    I recommend you update the latest Construction theme and check again.

    Kind Regards,

    David - WPCharming Team

  •  1
    Timur replied

    Hi, 

    yes working now!!! Thanks a lot!!!