• Resolved wookietv

    (@wookietv)


    hi,

    I’m trying to use this plugin with contact form 7 and another plugin “Resume/CV”
    (https://wpamanuke.com/resume-cv/ )

    On the left sidebar of my page, there are currently 2 “Contact Me” buttons.
    The top one goes to a separate standard Contact Form 7 page. If you notice at the bottom of that Contact Me page, there’s another Contact Me button just for proof that it is working.

    On that left sidebar, the bottom button is the same Fancybox coded button as on the Contact Me page but this one is not working (nothing happens when clicking it). The only difference is that the homepage uses the Resume/CV plugin that has its own template while the Contact Us page is using the default WordPress template.

    I’d like to get rid of this Contact Us page and just use the Fancybox popup as my Contact Us functionality.

    Can someone help me get this fixed?
    This has been tested in Chrome, FF, and Edge and all three have the same outcome.

    Thanks,
    Corey

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @wookietv I just checked your site and all fancybox scripts are missing. Either you deactivated the plugin or your theme footer.php file is missing the obligatory <?php wp_footer(); ?> call.

    Please verify this ??

    Thread Starter wookietv

    (@wookietv)

    Hi,

    Sorry, it didn’t email me to say you replied. Thank you for getting back to me.

    This is a new WordPress install, so I haven’t messed too much with it yet ??

    The footer.php file does have the <?php wp_footer(); ?> closing and the plugin is activated as it’s working when you go to the /contact-me page. On the Contact Me page, at the bottom there’s a second test button that is working normally so I know the plugin is turned on.
    Just not working on the Contact Me button under the LinkedIn link on the main page, which is using that Resume/CV template as it’s page template.

    The code for the two buttons on the main page are written in contact.php

    • This reply was modified 5 years, 7 months ago by wookietv.
    • This reply was modified 5 years, 7 months ago by wookietv.
    Thread Starter wookietv

    (@wookietv)

    Let me try that code again since it didn’t enclose properly

    <!-- == contact == -->
    			<?php
    				$contact_options = get_option( 'resumecv_contact_options');
    				if ( resumecv_data($contact_options,'show') == 'enable') {
    			?>
    				<div class="sidebar__content">
    				
    				<?php resumecv_output('<h3 class="sidebar__h">',resumecv_data($contact_options,'title'),'</h3>'); ?>
    				<div class="rcv-contact">
    					<ul class="--ul-reset">
    						<?php $contact_items = resumecv_data($contact_options,'contact_items'); ?>
    						<?php if ($contact_items) { ?>
    						<?php foreach ($contact_items as $item) { ?>
    						<li>
    							<?php resumecv_output('<i class="',$item['icon'],'"></i>'); ?>
    							<?php 
    								$value_url = '';
    								if ( isset( $item['value_url'] ) ) {
    									if  ($item['value_url']!='') {
    										$value_url = $item['value_url'];
    									}
    								}
    									
    								if ($value_url) {
    									resumecv_output('<span><a target="_blank" href="'. esc_url($value_url) .'" title="">',$item['value'],'</a></span>');
    								}
    								else
    								if (isset($item['value'])) {
    									resumecv_output('<span>',$item['value'],'</span>'); 
    								}
    							?>							
    						</li>
    						<?php } ?>
    						<?php } ?>
    					</ul>
    					<div class="clear-fix"></div>
    					<a href="https://coreyrabinowitz.com/contact-me/" target="_blank">
    					<img src="https://coreyrabinowitz.com/wp-content/uploads/2019/04/Contact-Me.png" border="0" alt="Contact Corey Rabinowitz"></a>
    <br><br>
    					<a class="fancybox" href="#contact_form_pop"><img src="https://coreyrabinowitz.com/wp-content/uploads/2019/04/Contact-Me.png" alt=""></a>
    
    					<div class="fancybox-hidden" style="display: none;">
    					<div id="contact_form_pop">[contact-form-7 id="25" title="Contact form 1"]</div>
    					</div>
    
    				</div>
    				</div>
    			<?php
    				}
    			?>
    			<!-- contact -->

    The footer.php file does have the <?php wp_footer(); ?>
    and the plugin is activated as it’s working when you go to the /contact-me page

    OK in that case, your home page template is not including the footer.php file. And it seems the header.php file is not included either.

    Or whatever the reason, the result is that neither the plugin stylesheet nor the script files are loaded on that page. Without those, there is no way you will ever get it to work…

    You’ll have to ask the theme developer for support on how to include both <?php wp_header(); ?> and <?php wp_footer(); ?> on your home page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not working with Resume/CV plugin?’ is closed to new replies.