Forum Replies Created

Viewing 15 replies - 16 through 30 (of 49 total)
  • Me too!

    If you’re comfortable editing the plugin it’s pretty easy, just have to change in a few files. Note though that if you update the plugin all of this will go away.
    In my case I want nothing at all, just the price. Here’s what I did:

    In the file pricingtable.php look for:

    <span>/<?php if($row->time_duration=='2'){echo week;}
                                else if($row->time_duration=='3'){ echo yr;}
                                else { echo "mo";}?></span></span></li>

    and replace with this:

    <span><?php if($row->time_duration=='2'){echo "/week";}
                                else if($row->time_duration=='3'){ echo "/yr";}
                                else if($row->time_duration=='4'){ ;}
    
                                else { echo "/mo";}?></span></span></li>

    Then find this:

    <span>/<?php if($row->time_duration=='2'){echo week;}
                                else if($row->time_duration=='3'){ echo yr;}
                                else { echo "mo";}?></span></span></li>

    and change to this:

    <span><?php if($row->time_duration=='2'){echo "/week";}
                                else if($row->time_duration=='4'){ ;}
    
                                else if($row->time_duration=='3'){ echo "/yr";}
                                else { echo "/mo";}?></span></span></li>

    OK that’s it for that file.
    Then go into the inc folder (all other files will be in there as well)
    and open view_pricing_detail.php

    Find this:
    <td class="easy_pricing_list_title"><?php if($row->time_duration=="1"){ echo "Per Month";} else if($row->time_duration=="2"){ echo "Per Week";} else {echo "Per Year";}?></td>

    Change to this:

    <td class="easy_pricing_list_title"><?php if($row->time_duration=="1"){ echo "Per Month";} else if($row->time_duration=="2"){ echo "Per Week";} else if($row->time_duration=="3"){ echo "Per Year";}
    
                else {echo "One Time Fee";}?></td>

    In the file manage_pricing.php
    Find this:

    <tr><th><label>Time Duration</label></th><td>
                     <select name="time_duration">
                     <option value="1">Per Month</option>
                     <option value="2">Per Week</option>
                     <option value="3">Per Year</option>

    change to this:

    <tr><th><label>Time Duration</label></th><td>
                     <select name="time_duration">
                     <option value="1">Per Month</option>
                     <option value="2">Per Week</option>
                     <option value="3">Per Year</option>
                     <option value="4">One-Time Fee</option>

    In the file easy_pricing_edit.php
    Find this:

    <?php if(esc_attr($time_duration)=="1"){
    					echo '<option value="1">Per Month</option>';
    					echo '<option value="2">Per Week</option>';
    					echo '<option value="3">Per Year</option>';
    				 }
    				else if(esc_attr($time_duration)=="2"){
    					echo '<option value="2">Per Week</option>';
    					echo '<option value="3">Per Year</option>';
    					echo '<option value="1">Per Month</option>';
    
    				}
    				else if(esc_attr($time_duration)=="3"){
    					echo '<option value="3">Per Year</option>';
    					echo '<option value="2">Per Week</option>';
    					echo '<option value="1">Per Month</option>';
    				}
    				 ?>

    add replace with this:

    <?php if(esc_attr($time_duration)=="1"){
    					echo '<option value="1">Per Month</option>';
    					echo '<option value="2">Per Week</option>';
    					echo '<option value="3">Per Year</option>';
    					echo '<option value="4">One Time Fee</option>';
    
    				 }
    				else if(esc_attr($time_duration)=="2"){
    					echo '<option value="2">Per Week</option>';
    					echo '<option value="3">Per Year</option>';
    					echo '<option value="1">Per Month</option>';
    					echo '<option value="4">One Time Fee</option>';
    
    				}
    				else if(esc_attr($time_duration)=="3"){
    					echo '<option value="3">Per Year</option>';
    					echo '<option value="4">One Time Fee</option>';
    					echo '<option value="2">Per Week</option>';
    					echo '<option value="1">Per Month</option>';
    				}
    				else if(esc_attr($time_duration)=="4"){
    					echo '<option value="4">One Time Fee</option>';
    					echo '<option value="2">Per Week</option>';
    					echo '<option value="1">Per Month</option>';
    					echo '<option value="3">Per Year</option>';
    
    				}
    
    				 ?>

    It’s a lot but totally doable. Good luck!

    *note you may have to also adjust the css to get the circles to look better, at least in my case I needed to.

    Thread Starter mlotorocks

    (@mlotorocks)

    Hi, I tried checking that box with no change in my results. I’m running Windows 8 IE 10
    Here’s a link to my screenshot:
    http://postimg.org/image/l282sxz43/

    Thanks

    Thread Starter mlotorocks

    (@mlotorocks)

    Thanks for the reply.
    The PC I do my testing on is running IE 10 and that is where I am seeing this problem.
    I’ll try the check box and see if it helps.
    Thanks!

    Perfect! Thank you so much!

    Hey looks like you might have figured something out?
    Would you mind posting what you did, I need to do the same thing.
    Thanks!

    Thread Starter mlotorocks

    (@mlotorocks)

    Did that and updated plugin. Working now, thanks!

    Hey, I used the wayback machine so I could see what your site used to look like before you made the change.

    So looks like you changed the id of the li tag. Currently you have it as

    <li id="nav_menu-3"

    but is you change it to

    <li id="nav_menu-2"

    then you should be all set

    That’s a background image in your CSS of one of your plugins it looks like.
    You can override it in your style sheet by adding this:

    .art-block-body {
    background: none !important;
    border-radius: 10px 10px 10px 10px;
    margin-bottom: 20px;
    padding: 15px 0;
    position: relative;
    z-index: 1;
    }

    That’s a CSS issue.

    Go in your style sheet and change:
    #branding img {
    display: block;
    height: auto;
    width: 100%;
    }

    to
    #branding img {
    display: block;
    height: auto;
    }

    In my case with this they added some code in my functions.php file.
    Deleted that, the user and tightened up the security, so far so good.

    Thread Starter mlotorocks

    (@mlotorocks)

    Thanks so much! Got it working now. In case this helps anyone in the future below is my code:

    <?php if( has_term( 'weddings', 'gallery_catagory' ) ) {
        // do something
        	echo "<p>You did it!</p>";
    }
    elseif( has_term( 'commercial', 'gallery_catagory' ) ) {
        // do something
        	echo "<p>You did it again!</p>";
    }
    ?>

    And to explain a little what those are “weddings” and “commercial” are my terms and “gallery_catagory” is my taxonomy.

    Thread Starter mlotorocks

    (@mlotorocks)

    Thanks so much! Got it working now. In case this helps anyone in the future here’s my code:

    <?php if( has_term( 'weddings', 'gallery_catagory' ) ) {
        // do something
        	echo "<p>You did it!</p>";
    }
    elseif( has_term( 'commercial', 'gallery_catagory' ) ) {
        // do something
        	echo "<p>You did it again!</p>";
    }
    ?>

    and to explain what those are ‘weddings’ and ‘commercial’ are my terms and ‘gallery_catagory’ is my taxonomy.

    Thread Starter mlotorocks

    (@mlotorocks)

    Duh, stupid cache!
    Just tried on another machine and you’re right, no redirect. It’s just missing the slideshow but I think I can handle that.

    Thanks guys!

    Thread Starter mlotorocks

    (@mlotorocks)

    Yes,
    When default theme and all plugins deactivated the url adds in /new-physician/ at the end.

    Also made sure the site is set to latest posts, and that the url in the general settings is not something weird.

    I also got a backup of the database from the site owner from before this happened and tried importing it into phpmyadmin but nothing changed.

    I had to recreate the new-physician page just so a 404 error does not come up for now.

    This is driving me nuts. Do you think there’s anything I can do in the database to get rid of this?

Viewing 15 replies - 16 through 30 (of 49 total)