arkinsokin
Forum Replies Created
-
Forum: Hacks
In reply to: Which hook should I use to insert code inside "the loop" after "the_post()"?thanks, “the_loop” worked great for me. That was exactly what I was looking for. But did you know there is no reference of this hook at all in the link you gave me? I looked through it and never found it. Thanks so much again anyways!
Forum: Hacks
In reply to: PLZ HELP What am I doing wrong? How would I do this? Trying to filter posts!Ok so I can’t figure out which filter hook to use.
Essentially I want to change/ add to the string value that is used whenever the function query_posts() is called. I want to append something like &’post__not_in’ => array(…. Anyone know which filter hook I should use? I can’t figure this out! I also see query_vars filter hook, but I have no clue what to do with it!Forum: Hacks
In reply to: PLZ HELP What am I doing wrong? How would I do this? Trying to filter posts!aaaa! I just figured out a better way.
I am just going to use:
<?php query_posts($query_string . ‘&id=-3,-8’); ?>\
right before “the loop”Going to dynamically generate the -ID from my variable… I think…
would this work?
Well I mean I want to be able to use these functions:
http://codex.ww.wp.xz.cn/Function_Reference/wpdb_Class
The same way I can use them when I “include()” the script from within a active/ used template page.
I finally figured it out, my global $wpdb was outside of the function that was using this…
Forum: Fixing WordPress
In reply to: How can I send data to my page (eg site.com/process?var1=test)oh wow idk what was wrong with it, it is working fine now..
Forum: Fixing WordPress
In reply to: How can I send data to my page (eg site.com/process?var1=test)I still can’t figure out this problem, I am stalled on this issue, can someone help me?
Forum: Fixing WordPress
In reply to: How to prevent a variable from appearing in the menu bar?thanks, thats exactly what I wanted. I am finally getting used to wp syntax. thanks!
Forum: Fixing WordPress
In reply to: If I want to run my own php script for a certain page… How?hmm ok ok, thanks for the help. I’m putting this as “solved” for now, and I will come back later (or try to remember) if it goes good or bad. Thanks!
EDIT: I can’t actually find the resolved button… sorry mods
Forum: Fixing WordPress
In reply to: If I want to run my own php script for a certain page… How?Hmm ok I will look into this, but I have a quick question:
Will this allow me to output text in specific parts of my post/page that uses this template? I was thinking of creating a div tag and doing it that way, what do you think?
Forum: Fixing WordPress
In reply to: How to change the header/ menu options?Maybe I was not very clear..
My page has a menu bar, a left column, and a right column.
The menu bar currently shows links to “pages” that I created from the admin panel. So far it shows:
Home|Home|Page1
I tried to make a home page, and I set it as my home page. But now as you can see, the menu shows two “Home” links, which both go to the same name. Page 1 is fine.
My point is, how can I edit this Menu?!?
Somebody must know!!