davesgonebananas
-
[Solved] WordPress the_author_link Title Attribute
Ah I fear I have led you slightly astray here. I meant to change the function name - you can't have the same name as a core function for obvious reasons, and the results you experienced. You can, however have a different named function that d…
-
Which Forum for WP?
bbPress is the forum software by the same guys as Wordpress and it integrates well - http://bbpress.org/documentation/integr ... wordpress/
-
[Solved] WordPress the_author_link Title Attribute
Sometimes it's easier to just dig into the source code ;-) Add the following to your functions.php and change "Visit %s’s website" to whatever you desire (%s is replaced by the author name). function the_author_link() { …
-
what to do when coders have let me down!!!!!
If you went with a reputable name in the industry (e.g. psd2html, w3markup) then you should register an official complaint with them, perhaps leave some negative feedback on their blog, etc. If you went with the cheapest Indian on elance.com then, …
-
Date issue
"thisishard" said:I tried to make this work, $date = (\"01.03.2010\"); $newdate = strtotime ( '+1 day' , strtotime ( $date ) ) ; $newdate = date ( 'd-m-Y' , $newdate ); echo $newdate; But it fails miserably. A…
-
[Solved] tumblelog/wordpress question
You can use the $in_same_cat parameter to restrict navigation to the category of the current post. Alternatively you can set $excluded_categories to the categories you want to exclude. (It's a bit of a strange syntax, you use $excluded_categ…
-
Concrete 5
I had a look at Concrete 5 a while back. It looks like a really good system - in place editing, really funky stuff. What put me off was, although the basic system is free and open source, they sell a bunch of addons for it. This means as soon as…
-
My new-ish website and blog
Wow thanks for the comments. So positive and constructive - I should have known you guys would be, it's a great community here. Tagline - yes that is a mistake that I didn't spot, thank you so much. I usually say your business. Reflecti…
-
Wordpress shit!
"JoshWhiteDesign" said:Well, the post isn't a total loss... you did manage to get some good swearing in there :) Like a whole troop of troopers... who've just watched Goodfellas.
-
[Solved] Sidebar Does Weird Things on Page 2
It could be that your enclosing is only in the first loop and not the second. You might consider moving this outside of any loops so that all your posts are enclosed within it. // loop 1 // loop 2
-
[Solved] Need some help with Explode();
We all have days like that!!!
-
small cms
You might consider using Wordpress. I recently wrote an article about why I use and recommend Wordpress here. The short version: [list][*]it's easy for (stupid) clients to use[/*:m] [*]it's easy for (stupid) designers to theme[/*:m] [*]i…
-
So....can we truly use HTML5 yet?
The thing to remember is that HTML5 isn't ratified yet. What does this mean for you? Well if you produce an XHTML 1.0 compliant website it will remain compliant forever. This is important if you are doing client facing work as opposed to int…
-
Links are not clickable
Moved post to CSS Help & Troubleshooting as it's not really a CMS issue.
-
[Solved] Need some help with Explode();
Not sure if the space in $post-> ID is causing a problem. Might be better to change it to $post->ID. Looks like you have correctly created your $img variable, you just need to echo it to output it.
-
[Solved] Show posts with same category name as page name
query_posts(array( 'category_name' => $post->post_title, 'showposts' => 10 ));
-
My design was stolen! :( - What can I do?
The 'contact our legal department' is just designed to put you off. This company was registered in Oct 2009 by http://www.a1companies.com/ an off-the-shelf company formation agency - typically used by one man companies and small outfits. …
-
Legal Issue with Mail Chimp
they want me to include my address at the bottom of each mail for legal reasons This is entirely up to MailChimp. If they want you to include your address then it's entirely their right to insist you do. This will be in their terms and cond…
-
[Solved] .htaccess mod_rewrite
What's happening is /about/x.shtml matches with /our-school/about/x.html because it appears in the url (albeit at the end). This results in an infinite loop (or it would if apache didn't limit the number of redirects allowed). To restric…
-
Php Functions
Enclose your complex variables in curly braces and you should be fine. echo \"{$row[title]}\";
-
Avoiding duplicated work
I don't use the built in export features to deploy a client site. I export the database using Phpmyadmin or mysqldump. Then search and replace http://olddomain.com/subdir with http://newdomain.com/newsubdir in the sql file. It's far mor…
-
whats the best way to convert a page to pdf with javascript?
You aren't going to be able to convert a page to pdf with Javascript because it's a client-side language (i.e. it runs on the user's web browser). If the users have a pdf generator (e.g. Adobe Acrobat Pro) installed then they will be…
-
Language switcher using directory structure
You can use a regular expression to get the language out of the url. Such as: if (preg_match('/^\/(en|fr)\/(.*)/', $_SERVER['REQUEST_URI'], $matches)) { $cur_lang = $matches[1]; if ($cur_lang == 'en') $alt_lang = …
-
Wordpress - Linking two different style sheet
Since you want it to act on the homepage you should replace is_page_template("page-snippet.php") with is_front_page().
-
{wordpress} Can the homepage resolve a post permalink?
"travisneilson" said:Hey, I've been looking up and down for the answer to this one. Hopefully you can help. I would like the home page to resolve to the permalink of the most recent post in a given category. so, a visitor would visi…
-
[Solved] Putting a Forum Inside Your WordPress Theme
I'm pretty sure Chris did a video tutorial on this. Perhaps if you give http://css-tricks.com/video-screencasts/ a search...
-
Language switcher using directory structure
Ok I think I understand what you mean. You have this setup: http://grab.by/2mmk and you want the php code to create a link that will switch between the en and fr directories.
-
Best way to solve this problem
Depends on what type of SQL query you are talking about. If you are query by primary key then it you can literally perform thousands without incurring much cost at all. One AJAX call per room sounds as though it might be less than ideal from a use…
-
Wordpress Custom fields
Advanced: You could even add a meta box to allow users to select from a drop down list of images attached to the post http://andrewferguson.net/2008/09/26/us ... _meta_box/
-
PHP $GET
It's $_GET and don't forget to addslashes() to anything you using a database query. $page = $_GET['pages']; SELECT * FROM database WHERE title=' . addslashes($page) .' http://php.net/manual/en/reserved.variables.get.…