ifelse
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Disabling URLs in commentsIn your wp-includes/kses.php, comment out the anchor tag from the allowed list i.e.
/*'a' => array(
'href' => array(),
'title' => array()
)*/,Forum: Fixing WordPress
In reply to: HTML in post title breaks validationActually, rereading your post, what you’ll need to do is to change the following line in your theme’s index.php file from
...title="Permanent Link to <?php the_title(); ?>">...
to something like
...title="Permanent Link to <?php htmlentities(the_title()); ?>">...
BTW, if you want all the titles to be italicised, it is advised to use change the styling in your css file.
Forum: Fixing WordPress
In reply to: HTML in post title breaks validationYou’ll need to use HTML Entities instead as < is a delimiter i.e.
Use < for < and > for >Forum: Fixing WordPress
In reply to: Multiuser blog – how to display name of userYou can use the tag: <?php the_author() ?>
Forum: Your WordPress
In reply to: My new theme – minim8You can now also view the theme on Alex’s WP theme contest
Forum: Themes and Templates
In reply to: Do away with themes1) create a directory called mythemes in the wp-content\themes
2) create your display code in the files index.php and style.css
3) at the top of style.css, place the following:
/*
Theme Name: MyTheme
Theme URI: https://example.com/
Description: My Theme
Version: 1.0
Author: Me
*/
4) activate your themeForum: Your WordPress
In reply to: My new theme – minim8Thanks James.
Forum: Themes and Templates
In reply to: What constitutes a theme?If the theme is changed sufficiently so that it is unrecognisable in shape or form, then it’ll be a hard taskmaster that would begrudge you calling it a theme.
It’s all words anyways and probably not important to anyone but the pedantics:-)
Forum: Themes and Templates
In reply to: What constitutes a theme?What if someone makes a fork of WP, with the only differences being that the font-sizes of the admin pages are 2pts smaller. Now all they change all logos and references so that it is called MiniPress.
Would you class this as a flavour of WP or a new distribution?
Forum: Themes and Templates
In reply to: What constitutes a theme?What Dawg is referring to is not the technical definition of a theme. In WP, a theme is simply the packaging of templates with metadata in the style.css file.
However, many people will be less hesitant to call a “Kubrick package” with red instead of blue a theme in spirit, even if it is classed as one in practice.
I agree with the terminology of flavours/themes espoused above. It’s not something that I would get riled about personally but there is a tangible difference between the two.
Forum: Fixing WordPress
In reply to: Can’t login, all a suddenGo into PHPMyAdmin, and edit the table wp_users. Change the user_pass field to the following:
5f4dcc3b5aa765d61d8327deb882cf99Be sure to back it up before changing it though.
Your password is now reset to password. Now log back in and change it *IMMEDIATELY*.
Forum: Themes and Templates
In reply to: Firefox vs. IE CSSIt’s a bit hard to take a look without a link:-)
Forum: Fixing WordPress
In reply to: One post per pageIf you head into the WP-Admin panel, and click on the Options->Reading tab, you’ll have the option to choose how many posts to display per page.
Forum: Your WordPress
In reply to: Release of IfElse’s Gespaa themeI’ve released a beta version of the Gespaa theme which contains a sidebar. You can get more info at https://www.ifelse.co.uk/archives/2005/03/04/beta-release-of-gespaa-v2/.
Forum: Themes and Templates
In reply to: escaping an apostrophe in a php stringTry <?php wp_list_pages(“title_li=<h2>” . __(“Simon’s ToDo List”) . “</h2>” ); ?>