If you look at the source code for your WordPress site you may have noticed a bunch of code in your <head> tag that is not a part of your WordPress theme such as re=”alternative”, rel=”pingpack” and the current version number of your WordPress installation. These are actions that are added by WordPress and displayed in your wp_head hook – so stop browsing all your theme files trying to figure out how to remove them because you won’t find it there. You’ll need to create some remove_action functions to clean up your WordPress head tag…I’ll show you how to do this. WordPress <head> Junk? Below are some examples of what is added to your header. In my opinion a lot of these are unnecessary and I actually remove them all from my site’s header, which is why I call them “junk”. But it really depends on your site and your needs so read up on the rel tags before you go removing them all. <link rel="alternate" type="application/rss+xml" title="WPExplorer RSS Feed" … [Read more...] about Clean Up Your WordPress Head Tag & Remove Unnecessary “Junk”
Clean upholstered chair
Clean Up WordPress Shortcode Formatting
As I was working on a new premium WordPress theme for Themeforest I was having issues with my Pricing Table shortcode as it kept adding extra spacing due to stray empty paragraph (p) tags that were being added automatically by WordPress. Doing a little searching I found a great solution on the TF forum. Clean Up WordPress Shortcodes Function Simply copy and paste the following code into your functions.php file or wherever your hold your shortcodes. This function will clean up the output of your shortcodes, which is especially important for nested shortcodes. if( !function_exists('wpex_fix_shortcodes') ) { function wpex_fix_shortcodes($content){ $array = array ( '<p>[' => '[', ']</p>' => ']', ']<br />' => ']' ); $content = strtr($content, $array); return $content; } add_filter('the_content', 'wpex_fix_shortcodes'); } What it does…This piece basically grabs all the post content before it’s outputted and replaces specific code as mentioned below: All … [Read more...] about Clean Up WordPress Shortcode Formatting
COVID-19: Dettol-maker cleans up as pandemic demand drives record sales
Reckitt Benckiser has reported record annual sales following high demand for its cleaning products and disinfectants during the coronavirus pandemic. Reckitt Benckiser (RB), which includes the Dettol and Cillit Bang brands in its stable, said group like-for-like sales rose by almost 12% to £14bn during 2020 as consumers sought means to protect themselves from COVID-19 . Its hygiene division saw comparable revenues rise by almost 20% while it also expanded into 40 new markets as production of disinfectant sprays and wipes was ramped up. RB pointed to market share gains for many of its brands, including Durex , and reported that 80% of consumers planned to maintain their purchases of germ protection and disinfection brands. But it predicted group revenues would be flat to slightly higher in the current year as peak demand had been reached - a factor reflected in the share price reaction from investors as the stock was only fractionally up on the day in early … [Read more...] about COVID-19: Dettol-maker cleans up as pandemic demand drives record sales
Fed Chair Powell Refuses To Say If He Is ‘Cool’ with Biden Spending Plan
Federal Reserve Chair Jerome Powell emphasized the damage the economy has suffered due to the pandemic and stressed that there was still a long way to go to a full recovery. “The economic recovery remains uneven and far from complete, and the path ahead is highly uncertain,” Powell said in testimony to the Senate Banking Committee. Powell said that Fed will continue to support the economy with ultralow interest rates and large-scale bond purchases until “substantial further progress has been made.” He added that a full recovery “is likely to take some time.” Several times in his testimony, Powell mentioned that the labor market was still 10 million jobs smaller than it was prepandemic. And he dismissed inflation risk, saying a sustained rise in prices above the Fed’s target is unlikely. Stocks rallied on Powell’s testimony. By emphasizing the weakness of the economy and saying inflation remains soft, Powell out to rest fears of a policy shift toward raising rates following … [Read more...] about Fed Chair Powell Refuses To Say If He Is ‘Cool’ with Biden Spending Plan
DCCC chair Maloney defends new hire who called Capitol Police ‘white supremacists’ after riot
close Video Fox News Flash top headlines for February 24 Fox News Flash top headlines are here. Check out what's clicking on Foxnews.com. Democratic Congressional Campaign Committee Chair Rep. Sean Patrick Maloney defended Dyjuan Tatro, a former gang member who recently joined the DCCC, as an "extraordinary individual" after backlash to some of Tatro's anti- police tweets. Tatro, the DCCC's newly hired senior adviser for strategic outreach referred to police officers as " white supremacists " after the storming of the Capitol in January and condoned looting in the wake of the death of George Floyd . NEWLY APPOINTED DCCC ADVISER DELETES TWEETS SLAMMING BIDEN AND HARRIS "It's a pretty extraordinary individual you're talking about," Maloney said when asked about Tatro during a Politico interview on Wednesday. "You're talking about deleted tweets that were before we hired him." One of the tweets that landed Tatro in hot water … [Read more...] about DCCC chair Maloney defends new hire who called Capitol Police ‘white supremacists’ after riot