Add text to the bottom of particular pages

Since you know the page ID we can directly look page ID 267 – so let’s skip the searching for an ID and jump to the comparison: You mentioned that you do not want it on the Entrepreneurship page, so lets only look for pages where the parent is ID 267 if($post->post_parent == 267) It … Read more

how to change the permalink to a specific location?

echo get_permalink(123); instead of the_permalink(), provided you know the ID of the “specific page”. the_permalink() will always link to the current post in the Loop, and somewhat nonsensically does not take an ID parameter the way that get_permalink() does. Reference: https://codex.wordpress.org/Function_Reference/get_permalink

Pulling posts tagged with similar title name

First of all, don’t use query_posts Form Codex: Note: This function isn’t meant to be used by plugins or themes. As explained later, there are better, more performant options to alter the main query. query_posts() is overly simplistic and problematic way to modify main query of a page by replacing it with new instance of … Read more

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