mlotorocks
Forum Replies Created
-
Me too!
Forum: Plugins
In reply to: [Easy Pricing Table] Time Duration optionsIf 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.phpFind 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.
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
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!Forum: Plugins
In reply to: [WordPress Posts Timeline] How to remove the whole Date-format function?Perfect! Thank you so much!
Forum: Plugins
In reply to: [WordPress Posts Timeline] How to remove the whole Date-format function?Hey looks like you might have figured something out?
Would you mind posting what you did, I need to do the same thing.
Thanks!Did that and updated plugin. Working now, thanks!
Forum: Fixing WordPress
In reply to: Lost image from sidebarHey, 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
Forum: Fixing WordPress
In reply to: Colour of removed widget still there under new widgetThat’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;
}Forum: Fixing WordPress
In reply to: Adding a small logo on left of header.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;
}Forum: Fixing WordPress
In reply to: Hacked? Admin Accounts Created Without My DoingIn 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.Forum: Fixing WordPress
In reply to: Need to show different text depending on Custom Post Type TermThanks 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.
Forum: Fixing WordPress
In reply to: Need to show different text depending on Custom Post Type TermThanks 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.
Forum: Fixing WordPress
In reply to: Creating a new page has replaced the homepageDuh, 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!
Forum: Fixing WordPress
In reply to: Creating a new page has replaced the homepageYes,
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?