Accept HTML in custom function

Trying to store markup in the database is generally a bad idea– some reasons being: Certain characters need to be escaped to be put in the database Having markup in the database will negatively effect any searches you may need to run on the data, now or in the future. Having markup in the database … Read more

Adding link on title its in description but not in title see screenshots attached

I actually found a way around this , I moved the title inside the and that made it as a link as well , since I wanted it to have the same link anyways. <a title=”<?php _e( ‘View details’, ‘wolf’ ); ?>” class=”wolf-show-entry-link” href=”https://wordpress.stackexchange.com/questions/211020/<?php echo get_permalink( $post_id ); ?>”> Hope this could help some other … Read more

how to do open a link in a open window from menu bar? [closed]

Please add below code to bottom of your functions.php, I have replaced with your menu item ID function lidget_popup_link() { ?> <script type=”text/javascript”> jQuery(window).load(function() { var width = “680”, /* Enter popup window width here */ height = “480”, /* Enter popup window height here */ menuItem = “menu-item-140”, /* Enter menu item ID */ … Read more

WP theme update causes child theme CSS problems

It may be possible that your theme author would be able to provide you with a previous version of the theme, not sure though. In regards to how you can avoid this issue in the future, I would recommend performing a backup of your WordPress files before updating anything (this goes for plugin updates, WordPress … Read more

Add HTML between feed items

you can add some code to the bottom of each feed post, this would give you the desired result. You can add this code to your functions.php or add it as a plugin /** Add custom feed content footer * @param $content * @return string */ function add_feed_content($content) { if(is_feed()) { $post_type = get_post_type( get_the_ID() … Read more

TwentyFourteen Theme : Changing grid layout

Figured this out – had to change the container to hold image widths of 24.9% or 50% depending on layout, remove the clear from both post divs and stretch the .site width to 100%. From there I had either 4 horizontal images or two x two set-up. If anyone has any questions about this feel … Read more