1,648 reputation
43069
bio website example.com
location Europe
age 27
visits member for 4 years, 9 months
seen Aug 21 at 8:09

Kind of Wordpress noob ;)


Aug
10
awarded  Notable Question
Jul
31
awarded  Notable Question
Jul
16
awarded  Popular Question
Jun
14
awarded  Popular Question
May
25
awarded  Famous Question
May
11
awarded  Nice Question
May
5
awarded  Popular Question
Apr
15
accepted Best way of passing PHP variable between partials?
Apr
14
revised Best way of passing PHP variable between partials?
edited title
Apr
14
comment Best way of passing PHP variable between partials?
How do I create this function / class without the need of calling it everywhere anyway? Could we focus on "how do that right" rather than "it doesn't work because you're wrong"? :) Thanks a lot! I'm just wondering what's the best, preferred way of getting the variable from header.php everywhere else. BTW even if I declare the variable in index.php I still can't access in fuctions below (why is so?).
Apr
14
comment Best way of passing PHP variable between partials?
I do think the variable is in the same scope, also I want to avoid using GLOBAL for obvious reasons.
Apr
14
asked Best way of passing PHP variable between partials?
Mar
29
awarded  Famous Question
Feb
27
awarded  Notable Question
Feb
17
awarded  Notable Question
Dec
21
asked How does WordPress load themes? It doesn't see mine (symlinked)
Dec
8
awarded  Yearling
Nov
29
awarded  Popular Question
Nov
25
accepted How to avoid wp-load.php within a PHP/CSS file?
Nov
23
comment How do I get attachment_id?
I've been working it out for quite a while and I'm wondering - how can I get the proper ID here?