Announcement

Collapse
No announcement yet.

Need Some Quick Website/Programming Help!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need Some Quick Website/Programming Help!

    I have been trying to work on improvements for my site but my knowledge is limited in this area. There is something I am trying to accomplish and I was hoping someone here could help.

    My site is a WordPress site (with the latest version) and uses the Ultra Grid Theme.

    I need a way to search multiple tags at once. With WordPress you are able to select one tag and show all posts with that tag. However I would like a user to be able to select multiple tags and show only cars that fit those criteria.

    For example if someone wanted to buy an early model E30 and it has to be M20 powered, then they would select tags for "early model" and "M20". Or if someone wanted a convertible and it had to be manual and late model, then they could select "convertible", "manual", and "late model" and only cars with those tags would show.

    Someone was working on a plugin that does exactly this, but they never finished it. He explained to me that it is finished but I need to "put <?php wp_tag_search(); ?> into the template where you want the tag cloud to appear. This means in the theme file, not in the content of the page itself". I would like the tag search to be on a separate page so can anyone walk me through how to do that?

    Here are some links to info on the plugin...

    The technique applied on Seth Anderson’s photo site. The WordPress taxonomy functions make it easy to give your visitors links to per-tag archives of posts. But is it possible to give them archives of more than one tag? Sure it is! Demo here Code here (on Gist) “Any” & “And” Tag Intersections By passing parameters […]


    Contribute to halfempty/wordpress-tag-search development by creating an account on GitHub.


    Thanks!
    sigpic

    Buy and sell your E30s and E30 parts on E30 Marketplace!

    #2
    Try this out: http://wordpress.org/extend/plugins/sk-multi-tag/

    instagram: @tonerrrr
    High resolution E30 Fuse Box 300dpi PNG

    Comment


      #3
      Originally posted by tonerrrr View Post
      Thanks for the tip! I actually looked into this one already but it doesn't work with my site because it is a widget. My theme doesn't support widgets.

      Unless someone knows how to use the code from the plugin and display it on a page instead of a widget? Is that possible?
      sigpic

      Buy and sell your E30s and E30 parts on E30 Marketplace!

      Comment


        #4
        Im a jr IT assiciate so take my advice with a grain of salt but what about setting up a SQL based database for it? You could write select statements against it for personal use or run scripts on it to pull parameterized queries for certain variables. If im wrong im wrong and someone please correct me if im off here...drinking doesnt help me in this but i hope it helps the OP. That is as long as its possible to put your site on a database.

        Just searched, youd have to use MySQL to utilize SQL with wordpress.

        Comment


          #5
          Originally posted by jw 325ic View Post
          Im a jr IT assiciate so take my advice with a grain of salt but what about setting up a SQL based database for it? You could write select statements against it for personal use or run scripts on it to pull parameterized queries for certain variables. If im wrong im wrong and someone please correct me if im off here...drinking doesnt help me in this but i hope it helps the OP. That is as long as its possible to put your site on a database.

          Just searched, youd have to use MySQL to utilize SQL with wordpress.
          yeah, i said that here: http://www.r3vlimited.com/board/show...9&postcount=10

          don't know wordpress that well though, sorry
          past:
          1989 325is (learner shitbox)
          1986 325e (turbo dorito)
          1991 318ic (5-lug ITB)
          1985 323i baur
          current:
          1995 M3 (suspension, 17x9/255-40, borla)

          Comment


            #6
            I'm super rusty and haven't touched WP in a couple years and I suppose this will rely on the design of the theme you're using, but I don't see any reason why you can't make a page called "e30search.php" in your theme's directory that simply calls your header, container(s), and footer. This will require some very basic PHP skills.
            Here's an example of a 404 page I made for a theme I was working on awhile back, as this displays my idea in it's simplest form.
            Code:
            <?php
            /**
             * @package WordPress
             * @subpackage blahblah
             */
            get_header(); ?>
            <?php get_sidebar(); ?>
            <div id="postContainer">
            	<div class="postTitle">
            		<h3>Error 404 Page Not Found</h3>
            	</div>
            	<div class="adDivide">
            		<!-- Advertisements HERE -->
            		<?php include("advertisementTwo.php"); ?>
            	</div>
            </div>
            <?php get_footer(); ?>
            Hope this helps at least a little and isn't too off base.
            Last edited by jclar; 02-02-2013, 09:29 PM.
            '86 325es M50

            Comment

            Working...
            X