borimrr
Forum Replies Created
-
Forum: Plugins
In reply to: How do I sort posts by a custom field dynamically? Plugin?So I found a solution after doing some thinking, googling and putting my noob PHP coding skills to work. I used cookies to determine if the posts are already in DESC or ASC order according to their price. Then, the “change price order” link refreshes the page and depending on the cookie will either display the posts in DESC or ASC order accroding to the price meta value.
Here’s the PHP that goes right after the HTML head ends:
</head> <?php setcookie("priceorder", "ascending"); if($_GET["action"]=="changepriceorder" && $_COOKIE["priceorder"] == 'ascending') { query_posts($query_string. '&orderby=meta_value&meta_key=price&order=DESC' ); setcookie("priceorder", "descending"); } else if ($_GET["action"]=="changepriceorder" && $_COOKIE["priceorder"] == 'descending') { query_posts($query_string. '&orderby=meta_value&meta_key=price&order=ASC' ); setcookie("priceorder", "descending"); } ?>
And the simple link that activates the changes:
<a href="?action=changepriceorder">Price<img src="up_and_down_arrows.gif" /></a>
Forum: Plugins
In reply to: I need a good multiple search plugin (or how to do it)Thanks, the plugin that I linked above does exactly what I needed and it creates a search form with drop downs listing all the categories and everything. Check it out when you get a chance.
Forum: Plugins
In reply to: I need a good multiple search plugin (or how to do it)Never mind, I found one that does exactly what I need. Donate if you can!
https://www.ads-software.com/extend/plugins/multiple-category-selection-widget/
Forum: Themes and Templates
In reply to: Adding A Repeating BackgroundIt seems like you currently have a background image that contains all that blank space on the sides. You will need to get rid of that background image or edit it. If you get rid of it you will lose the green and baby blue sidebars backgrounds as well.
You might have to edit the background image and put the repeating content in it.
Forum: Themes and Templates
In reply to: Remove Duplicate Search BoxYes it is common. If you want to get rid of the search bar in the content area you will have to edit it out from search.php which is what I assume the site is using to output the search “error”.
If you want to get rid of the search box in the sidebar I assume you know how to do that.
You could also make your own sidebar for the search.php template with no search bar.
Forum: Everything else WordPress
In reply to: WordPress as a video course site (paying customers)Thanks, I found this plugin that apparently will do the job, even the free version:
Forum: Themes and Templates
In reply to: How To Insert Hover Menu Background ImageThat code would be to add it to the anchor and not the li. If the anchor isn’t big enough then you won’t see it. Also you need to add :hover to the li for the background to activate on mouseover.
#menu li:hover { background: ...; } or #menu li:hover > a { background: ...; }
I hope this helps.
Forum: Everything else WordPress
In reply to: Selling Web services with WordPress, legal?Thank you very much
Forum: Everything else WordPress
In reply to: passing off WP as there own…Aren’t there plugins to modify the login screen with your own logo and stuff?
Forum: Fixing WordPress
In reply to: jQuery not working (already using jQuery instead of $)I found the problem. If i put the second script of code for the h1 hide inside the firs script of code’s function call it works. I guess I can’t have ,ore than one function call outside of the same script?
Forum: Fixing WordPress
In reply to: Category PermalinksDid you check Settings > Permalink?
Choose the format of the permalinks and also you can determine what you want category permalinks to show before the category directory by typing it in. EX: https://www.dddd.com/category/news can be https://www.ddd.com/type/news if you type “type” in the box.
Forum: Fixing WordPress
In reply to: how to remove columnIt looks like it’s a widget area. Go into your widgets on your admin side and see if Archives and Links/Blogroll are in any of the widgets. If it’s in the footer.php then you’ll have to go in there and edit it out.
Forum: Fixing WordPress
In reply to: disable link for drop downThanks for this, I used it yesterday and it worked flawlessly. Make sure it’s after the wp_head() call.
Forum: Fixing WordPress
In reply to: How can I add a live webcam to my wordpress site?Thanks, I guess I’ll be using this one.
Forum: Fixing WordPress
In reply to: post header in single pageheader on a content page or header on a post page as in the post title and stuff?