stijn03
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: filesok i got it more or less. Is there a reason why those files are not just placed in the wp-include directory?
Suppose i want to have a blog in a website and modify the blog according to the style of the website, i could do this entirely by changing the files in the theme folder?
thanks for the replies already!
Forum: Fixing WordPress
In reply to: filesso if i understand, they are per se needed because they not only load the theme but they have also some functions that are used by the theme?
Else, with a different URL i could just go to the theme, right?
Forum: Fixing WordPress
In reply to: sticky postgot it, my bad
Forum: Fixing WordPress
In reply to: sticky posti don’t have that option in the admin panel
Forum: Fixing WordPress
In reply to: $comment_altah ok, yes that makes sense, and what’s the difference with $comment_thread_alt if i may ask you?
I’va also another question:
i don’t see any reference to the function: &separate_comments() in the codex. Where can i find the implementation of this function because i don’t get exactly what the ampersand does.
Why are you asking?
Just to get an idea of the code 🙂
Thanks in advance
Forum: Fixing WordPress
In reply to: CSSthanks, but i don’t get it completely yet.
I think this is the relevent line you are referring to?
<link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘stylesheet_url’ ); ?>” />
In the function manuel, it is explained like:
stylesheet_url = http://example/home/wp/wp-content/themes/child-theme/style.css
However, i don’t see how this line is included in the ‘right file’ and referring to the right CSS.
Say for example that comments.php need some CSS. I think for the blog content there exist only one CSS, namely style.css? But then this line has to be added to all the php files?
Forum: Fixing WordPress
In reply to: code understanding: WPINC in wp-blog-header.phpI also see that i didn’t pose my question well, apologises.
Edit: in wp-blog-header.php WPINC is used in the following statement:
require_once( ABSPATH . WPINC . ‘/template-loader.php’ );
but i don’t know how this file can have access to WPINC
Forum: Fixing WordPress
In reply to: code understanding: WPINC in wp-blog-header.phpI’m trying to learn the code as a practice to learn php :). sorry for the late reply, was in school
Forum: Fixing WordPress
In reply to: troubles modiying PO nl_NLMaybe you took the language files from:
wp-content/languages/
instead of:
wp-content/themes/twentyeleven/languages/Omg my bad, you are right! It’s because the english standard version doesnt have a dir wp-content/languages. The dutch version does have it!
Thanks, now it works fine except for hover texts and some untranslated other strings but ill find that from now i guess.
–> maybe ill also have to upload this dir wp-content/languages for the not yet translated comments?
thanks again
Forum: Fixing WordPress
In reply to: troubles modiying PO nl_NLhttp://nl.ww.wp.xz.cn/ –> i just selected wp-content > themes > twentyeleven and then all the .mo files and uploaded them.
Forum: Fixing WordPress
In reply to: troubles modiying PO nl_NLyes, in wp-content > themes > languages.
browser cookies and cache doesnt work
Forum: Fixing WordPress
In reply to: troubles modiying PO nl_NLEDIT: before i read the guidelines, i already changed some translations manually in the code, e.g.:
_n( ‘1ne repliek op “%2$s”’, ‘%1$s replieken over “%2$s”’)
instead of _n( ‘1 reply on “%2$s”’, ‘%1$s replies on“%2$s”’
Do i have to generate new ‘old translations’ in a .po again or something?
*confused
Forum: Fixing WordPress
In reply to: translation problem: __() in category.phpthanks for the detailed answer!
Forum: Fixing WordPress
In reply to: translation problem: __() in category.phpanyone?