forunner
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: If/Else If query by Category ID?-not sure-
try to put you condition inside the elseif (! is_front_page) because if you put it after, it will be display only if it’s the front page AND it is not category 3 AND get_option(‘thetheme_featured’) != ‘on’Forum: Fixing WordPress
In reply to: Big Big Big Problems All Over The Place….did you try to disable plugins?
Forum: Fixing WordPress
In reply to: 2010 header image heighttry to add in your stylesheet :
`#branding img{
height : 1000px
}1000px is -maybe- too much
EDIT : woops, if it is in the header, don’t care about what I’ve said
Forum: Fixing WordPress
In reply to: 2010 header image heightis your site online? can you give us the adresse?
what theme do you use ?!Forum: Fixing WordPress
In reply to: remove and redo it all overyou can delete all the folders on your ftp and use
DROP DATABASE db_namein a SQL requesta little bit rude…
Forum: Fixing WordPress
In reply to: Big Big Big Problems All Over The Place….I don’t know how to fix this, hope someone will help you
but, can’t you edit them directly in your db? (if you can’t wait a real fix)
(wp_1_posts ==> post_content)Forum: Fixing WordPress
In reply to: Transfering certain posts to another wp-siteoption :
Categories – select only one category with this pulldown or leave at All Terms.Forum: Themes and Templates
In reply to: Weird horizontal lines and tweaksgood π
Forum: Themes and Templates
In reply to: Weird horizontal lines and tweaksyou have to supress the hr tags from your theme
Forum: Fixing WordPress
In reply to: Is it possible to search in attached files?I wasn’t meaning to imply there was a problem with your suggestion
There is one π
Forum: Fixing WordPress
In reply to: Is it possible to search in attached files?I don’t think it’s for the content :p
Search every attachment:
(post type = attachment)Forum: Fixing WordPress
In reply to: Is it possible to search in attached files?that’s why I said my solution was ” a bad solution ” :p
Forum: Fixing WordPress
In reply to: Bakup only postsedit : better solution after my post
Forum: Fixing WordPress
In reply to: duplicate custom fields insertionup with a link
same kind of problemForum: Fixing WordPress
In reply to: Is it possible to search in attached files?Bad solution, but I don’t know any other.
I don’t know if WordPress can do this alone, but php can
you have to put the result of this function into a variable, and use a function like that (I translate the code for you) :<?php /******************************************************************************/ /* */ /* __ ____ */ /* ___ / / ___ / __/__ __ _____________ ___ */ /* / _ \/ _ \/ _ \_\ \/ _ \/ // / __/ __/ -_|_-< */ /* / .__/_//_/ .__/___/\___/\_,_/_/ \__/\__/___/ */ /* /_/ /_/ */ /* */ /* */ /******************************************************************************/ /* */ /* Titre : find a character in a string */ /* */ /* URL : http://www.phpsources.org/scripts154-PHP.htm */ /* Auteur : PHP Sources */ /* Date Γ©dition : 04 Jan 2006 */ /* */ /******************************************************************************/ $my_string = 'abcefghigkmnlopqrstuvwxyz'; // put your variable containing your .doc instead $my_string $find_me = 'a'; // put the search instead $find_me $position = strpos($my_string, $find_me); // you have to use === because == won't display anything // because the letter 'a' is in position 0 if ($position === false) { echo '',$find_me,' not found in ',$my_string,''; } else { echo '',$find_me,' in in ',$my_string,''; echo 'in position ',$position,''; } ?>if the translated code don’t work, try to use the original – maybe I’ve make a mistake.