Makes sense! Thanks a lot!
I hope I’m not alone on this one but… what exactly makes the difference between a retail and an e-commerce template? What sets retail templates apart as a stand-alone category?
Great news! Thanks for the lightning fast reply!
Just out of curiosity… Where do we stay today? Have we already reached the first 30 template uploads?
Where have the winners been announced? Thanks!
Thanks for the listing!
If you could provide more details about the features you’d like to see included, there might be someone jumping on it. Actually… I’m pretty sure there will be someone
The profile page: You’ll have to either use a plugin to display this or modify your theme’s author.php file to your needs. This might help: http://blogmum.com/2009/06/how-to-make-a-wordpress-profile-page/
Extracting rider information from the database: If the registered name is the same in both table, you could use a query like this
SELECT * FROM wp_race_info WHERE rider_name = get_userdata(intval($author))->user_nicename;
This extracts all entries from the wp_race_info database table (this is the table you have created) where the rider_name filed has the same value as the author’s name. You’ll have to change the wp_race_info and rider_name to your table and variable names.
Does that make sense?
Personally, I would implement a simple plugin for this. In the plugin itself you’ll retrieve your database table entries, format and display them.
Other than that, you will have to include an extra field in your results table that contains the user’s ID (or name) then compose your SQL query so that only datasets containing the given user’s ID (or name) are returned.
An alternative would be to use a binding table which contains the user IDs and the IDs from the results table, tied together. This way, you’ll keep the two tables independent.
I hope this helps! Let me know if you need further details!