I need to display post related info

I fear you will struggle to do this, as you will need to utilise rewrite rules in a “sensitive” area; custom post types. Could you not change your thinking slightly, and do it like so? www.example.com/questions/post-slug/ www.example.com/ratings/post-slug/ etc…

Database custom table issues – incorrect result displayed

Not sure why you’re getting a WSOD, but immediately I can see that in the following: $selectedSchoolName = $wpdb->get_results( “SELECT Name FROM tblYBSSchool WHERE SchoolID=”.$SelectedSchoolID ); // get selected location name $selectedLocationName = $wpdb->get_results( “SELECT Name FROM tblYBSLocality WHERE LocalityID=”.$SelectedLocationID ); // get route ID $getRouteID = $wpdb->get_results( “SELECT * FROM tblYBSRoute WHERE RouteID IN … Read more

For one linked image per post, override that link with a permalink when on the main page

My solution was to work in the twentyten theme folder, the file “loop.php” Around line 145 I did this: <?php $content = get_the_content( __( ‘Continue reading <span class=”meta-nav”>&rarr;</span>’, ‘twentyten’ ) ); // http://stackoverflow.com/a/6366390/1195835 // http://stackoverflow.com/a/11886237/1195835 // http://stackoverflow.com/a/15469353/1195835 $doc = new DOMDocument(); $doc->loadHTML($content); $finder = new DomXPath($doc); $classname = “post-main-image”; $nodes = $finder->query(“//*[contains(concat(‘ ‘, normalize-space(@class), ‘ … Read more

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