I lost the link to my posts in my menu bar

I’d check/adjust the Menu (under Appearance, Menu; also usually within Appearance, Customize). Create a menu if not already there. Then add a “Custom Link” to the menu. The URL is your home page, the Link Text is something like “Home”. Drag that menu item to the spot on the menu (the vertical list of all … Read more

Getting error in sql query

You have a typo $a = the_ID(); $data = $wpdb->get_results(“SELECT `id`,`guid` FROM `wp_posts` WHERE `post_type` = ‘local-offer’ group by `post_author`”); $result = $wpdb->get_results(“SELECT * FROM `wp_postmeta` WHERE `post_id` = “.$a.” “);

Prevent WordPress from putting around specific element

Seems you have something plugin, that causes the problem, because WP doesnt put hidden anchors in the content. have you double checked the post-editor textarea (html/visual) to determine when that ..anchor.. appears? however, i dont recommend filtering, instead, save the CORRECT CONTENT in the back-end, instead of filtering the incorrect content on front-end. use something … Read more

wpautop filter off for pages but on for posts

You could try this in your functions.php file function disable_wpautop_for_pages(){ if ( is_page()){ remove_filter( ‘the_content’, ‘wpautop’ ); } } add_action(‘init’, ‘disable_wpautop_for_pages’); I have not tried this. It’s just a guess