1,887 reputation
1019
bio website forevanyeung.com
location New Jersey
age
visits member for 4 years
seen Dec 16 at 22:11

Jan
28
answered How to customize wordpress login/register pages?
Jan
28
accepted Restrict post to user_id
Jan
28
comment Restrict post to user_id
Thank you Rarst. I implemented a solution similar to the one you provided.
Jan
27
awarded  Student
Jan
24
awarded  Scholar
Jan
24
accepted Fixing custom rewrite rule
Jan
24
comment Fixing custom rewrite rule
I figured it out that I need to call it using get_query_var(). Thank you for all your help.
Jan
24
revised Fixing custom rewrite rule
updated query_vars function
Jan
24
comment Fixing custom rewrite rule
Thank you for pointing out in the query_vars, I did not know what it was for. I updated the code and is reflected above. Now textbook/cantonese/CK1/6 is displaying textbook/cantonese/. I had set a if(isset($_GET['cls'])){ echo $_GET['cls']; }. Is there a certain way to call the variable that I am missing?
Jan
24
comment Fixing custom rewrite rule
@Mike - Thank you for pointing that out. I fixed it in the above code.
Jan
24
revised Fixing custom rewrite rule
updated rewrite rule to include CK
Jan
24
asked Fixing custom rewrite rule
Dec
28
comment Restrict post to user_id
That's not quite what I am looking for. Each user will have their own post/multiple post. But those posts will be exclusively available to them and administrators.
Dec
28
comment Restrict post to user_id
Can you link me to this plugin? I cannot find it in the WP Plugin Directory. Also note, I do not want to create a new Role for every user.
Dec
28
asked Restrict post to user_id
Dec
10
comment Custom Download Link
yes, thats exactly what i mean
Dec
9
awarded  Editor
Dec
9
comment Custom Download Link
I set up a redirection with pass-through(masquerade one URL as another). When I access the new link there seems to be a problem with headers as the pdf file is coming out like: %PDF-1.4 %äüöß 2 0 obj << /Length 3 0 R /Filter /FlateDecode >> stream x��]�n$����Pgn'�[00��J>�݀?�`xx.��Β� �/�e0�$��ڞ�J&�X_,��~��?
Dec
9
revised Custom Download Link
specified more information
Dec
9
asked Custom Download Link