How to achieve anchor links on top of pages.

If you’re trying to do this just for anchor links within your current WP page, a table of contents style plugin will likely suffice; for example, see: http://wordpress.org/plugins/table-of-contents-plus/ This specific example auto-generates the table of contents and anchors based on the headers in your document/page, so it is fairly low fuss on you as the … Read more

Hide if subpages are shown

Doesn’t seem like you are using an if-statement for showing the sub-pages? If you are not, I guess you can do it with jQuery. var sub = $(“div.subpages”); if (sub.length > 0) { $(“#secondary”).hide(); // replace “secondary” with the ID of the sidebar }

Temporary download page or restrict static download page based on how the user got to the page?

For your first question “Detect where they are coming from”, Just check the $_SERVER[‘HTTP_REFERER’] for your expected web address. For the second “Create a short lived page”, your answer lies in the set_transient() method. You can do something like: function create_page() { if ( get_current_user_id() ) return “<html>…</html>”; return false; } function get_page( $unique_id ) … Read more

Filter posts by author selected in page

You can write your own query to include or exclude posts from an Author, This page has documentation about the options you can pass to a query. http://codex.wordpress.org/Class_Reference/WP_Query#Author_Parameters Here is an example to only get posts from the user $author. $author_query = new WP_Query(‘author_name=”.$author); for user “Amin’ : 🙂 $author_query = new WP_Query(‘author_name=Amin’);

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)