Hot answers tagged

2

The security risk here is not about the plain text but about translation. You should note that esc_html_e is not only a function for escaping HTML but also for localization (l10n). I.e. other people can translate this String but you don't know what the translation would be. It is possible that somebody translates the String and adds a link or some malicious ...


2

Turns out you are not the only one: https://core.trac.wordpress.org/ticket/32095 It looks like this was removed in a recent update (4.2) and I can see why they did it. User interface can be confusing at times. You can read more about the removal here: http://wptavern.com/how-to-restore-the-link-title-attribute-removed-in-wordpress-4-2 There is a ...


2

The theme uses the_excerpt() instead of the_content(). I had created a child theme before (so I don't modify the source theme directly: only the child one), so I only had to copy/paste the PHP file (archive.php) from source theme to child theme, and change the_excerpt() for the_content( __( 'Read more ›', 'my-domain' ) );


2

This looks like a hack, probably in W3TC. Try disabling all the Plugins one by one, and if it doesn't go away, try switching to the default theme. If that did not work, install WordPress from scratch, and transfer the database to it. If you prefer another debug mode, I suppose your script gets hooked into WordPress in the wp_footer action. To verify that, ...


1

I used this to show images on slider .Try this <div class="col-md-12"> <div class="carousel carousel-showmanymoveone slide" id="carousel123"> <div class="carousel-inner"> <div class="item active"> <div class="col-xs-12 col-sm-6 col-md-3"> <img src="<?php echo plugin_dir_url( __FILE__ ) ...



Only top voted, non community-wiki answers of a minimum length are eligible