Ude
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Modifying post name (article) into something elseThanks, that helped me get on the right track! I also added this piece of code too that is needed for the admin-panel (in case someone else needs this too):
function change_post_menu_label() { global $menu; global $submenu; $menu[5][0] = 'News'; $submenu['edit.php'][5][0] = 'News'; $submenu['edit.php'][10][0] = 'Add News'; $submenu['edit.php'][16][0] = 'News Tags'; echo ''; } add_action( 'admin_menu', 'change_post_menu_label' );
Forum: Themes and Templates
In reply to: Modifying post name (article) into something elseThe new custom post type was my first solution for my problem (named “record/records”), but I still had the old default post type “articles” which I don’t need and will only confuse the end user.
Therefor I’m asking can I just rename the default post type into “record/records” which is displayed in the browser (it can otherwise still be refered to as “post” in php-code).
Forum: Themes and Templates
In reply to: Modifying post name (article) into something elseHi wspencer!
I mean just changing the post type name itself – “article” – into another. “Article” isn’t an accurate name for the service I’m building right now.
First I created a new post type with register_post_type() with its own name, but I’m thinking is there a way method to just rename the default post type instead of creating a new separate one.
Forum: Themes and Templates
In reply to: Creating a custom search result pageSuperthanks for giving these instructions, they helped me a lot!
Things are working almost as planned now, I have a search field that matches keywords with the posts’ data and it displays all the images related to those, but I can’t get it to search the attachments’ own titles or descriptions.
Using the Search Everything-plugin didn’t help. Is this a limitation of WP search or is there a way to include attachment titles and descriptions to the search in the code?
Forum: Your WordPress
In reply to: First WP theme – for a band siteRyanRE: Yes, this really was my first one with WordPress (though not the first time I’ve used xhtml/css in general). It was a bit tough at first to start reading the codex up front, but when I went through this tutorial on designing your own theme, things got a whole lot easier to understand afterwards. ??
zimmer: That was a typo I eventually just left there since it sounded like a nice change from the usual “copyright” and there were no demands later from the band to correct it, though know when you pointed it out visitors might still regard it as a typo and not as trickery with words. Maybe I’ll change it.
Forum: Your WordPress
In reply to: First WP theme – for a band siteDgold: actually, credit to the footer graphic (as well as the front page’s top image and band logo) fully belongs to the visual designer who made the band’s first album artwork (as credited in the releases-page).
VBrown: No plans as such, the theme was tuned for the band site, so it isn’t suitable for general use and would anyway still be a little too rough around the edges for other people to understand or modify. ??
defusethefire: they did have t-shirts with that logo on sell, but are now temporarely out of print (are were white on black). ??
Forum: Your WordPress
In reply to: First WP theme – for a band siteThanks! Oh, and just to clarify, I’m not a member of the band myself. ??
Forum: Fixing WordPress
In reply to: Comment field under excerpt not showing upOkay people, nothing to see here, I found the solution. Gah, why wasn’t I able to find this before I posted. ??
Forum: Fixing WordPress
In reply to: Comment field under excerpt not showing upOkay, I just read that comments_popup_link apparently works only in index and archive-pages. Terribly sorry I didn’t check on that sooner before posting. I wonder what I should use instead.
Forum: Fixing WordPress
In reply to: How to display a certain subpage of a page?Thanks for the reply and sorry for using the wrong term! Actually I was wondering would it be mixed up with what sub-pages really are. Now I know. ??
Also good to know that it technically isn’t possible what I’m trying to achieve. I was trying to use the content of the page as edible “fields”, one for latest news (in its own place in the page) and in “next page” there would have been a youtube embed-code that would have been in another place in the page. The idea would have been just to have them easily editable.
But if there is a better way in WordPress to manage snipets of easily editable code, I’m all ears (well, Widgets are one way, but the front page at present doesn’t have a sidebar, nor will have one).