Aahan Krish
Forum Replies Created
-
Nevermind, my mistake in understanding how it works. WP jQuery Lightbox does a great job. ??
Oh, I didn’t realize my mistake until I looked at my functions. I use
get_template_directory_uri()
which is probably why it works. Never mind! ??I can deal with it now, and my apologies for the false alarm.
PS: “What other plugins are you using that do work?” — I was actually referring to my custom functions, which essentially make plugins. Like I said above, I am doing it theme-style which is why it works.
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Errors in sitemap@bwinwithme Your sitemap isn’t loading. It’s just showing the homepage. Something is wrong on your end, and probably not with the plugin, as it’s working fine for me.
Try disabling all plugins, and enabling them one-by-one to identify the culprit.
Hi Joost,
I can confirm these issues from my test blog:
- Include in News Sitemap checkbox has to be checked for every post — yes, it doesn’t seem to obey the post-type settings in Google News Sitemaps settings section of WP SEO.
- The same applies for Google News Genre as well. I have it set to none in settings screen, but in posts it defaults to “blog” for some reason.
- What’s the purpose of Default Keywords in the Google News Sitemaps settings section of WP SEO? I can’t find them anywhere in the News sitemap. As for each post, ONLY “Tags” are being shown as
<news:keywords>
.
Just in case you want to see my settings, here’s a screenshot: https://i.imgur.com/imn1n.png (Plz note that it’s my test blog)
I better do that. I’ve been avoiding that thought so far, not any longer. Thanks ??
Forum: Plugins
In reply to: [Login Lockdown & Protection] [Plugin: Login LockDown] Appears to be brokenHi Michael (mvandemar),
You are the developer of Login Lockdown I presume? First I saw that it wasn’t updated in years, and then I saw one of the expert developers I know using it on his own blog.
Even though that’s pretty much enough of a concrete evidence, I would still like to go ahead and ask — is it still strong and secure today as it was before? I mean, security programs always seem to require constant updates, and your does not? Just asking!
Cheers!
Ah, pleasure ;-P
Mika,
I’ve already done the test on IE8,9 and latest versions of all other browsers (FF, Chrome, Opera, Safari). But need we check? I mean, it’s the same exact code from editor.css except that I added two rules that were missing (border-radius and -moz-border-radius).
Anyway, I removed the css for del button for ya ??
.quicktags-toolbar { border-bottom: 1px solid #ccc; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background-color: #e9e9e9; background-image: -ms-linear-gradient(bottom,#ddd,#e9e9e9); background-image: -moz-linear-gradient(bottom,#ddd,#e9e9e9); background-image: -o-linear-gradient(bottom,#ddd,#e9e9e9); background-image: -webkit-linear-gradient(bottom,#ddd,#e9e9e9); background-image: linear-gradient(bottom,#ddd,#e9e9e9); padding: 2px 8px 0; min-height: 29px } .quicktags-toolbar>div { padding: 2px 4px 0 } .quicktags-toolbar input { margin: 2px 1px 4px; line-height: 18px; display: inline-block; min-width: 26px; padding: 2px 4px; font: 12px/18px Arial,Helvetica,sans-serif normal; color: #464646; border: 1px solid #c3c3c3; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background-color: #eee; background-image: -ms-linear-gradient(bottom,#e3e3e3,#fff); background-image: -moz-linear-gradient(bottom,#e3e3e3,#fff); background-image: -o-linear-gradient(bottom,#e3e3e3,#fff); background-image: -webkit-linear-gradient(bottom,#e3e3e3,#fff); background-image: linear-gradient(bottom,#e3e3e3,#fff) } .quicktags-toolbar input:hover { border-color: #aaa; background: #ddd } .quicktags-toolbar input[value="link"] { text-decoration: underline } .quicktags-toolbar input[value="i"] { font-style: italic } .quicktags-toolbar input[value="b"] { font-weight: bold }
After lots of looking into files, and asking questions, it finally struck me… this is how it needs to be done:
add_action('wp_enqueue_scripts','aahank_register_script'); function aahank_register_script(){ //Re-register quicktags script wp_deregister_script('quicktags'); wp_register_script('quicktags', 'https://static-content.com/wp-includes/js/quicktags.js', false, false, true); wp_localize_script( 'quicktags', 'quicktagsL10n', array( 'wordLookup' => __('Enter a word to look up:'), 'dictionaryLookup' => esc_attr(__('Dictionary lookup')), 'lookup' => esc_attr(__('lookup')), 'closeAllOpenTags' => esc_attr(__('Close all open tags')), 'closeTags' => esc_attr(__('close tags')), 'enterURL' => __('Enter the URL'), 'enterImageURL' => __('Enter the URL of the image'), 'enterImageDescription' => __('Enter a description of the image'), 'fullscreen' => __('fullscreen'), 'toggleFullscreen' => esc_attr( __('Toggle fullscreen mode') ), 'textdirection' => esc_attr( __('text direction') ), 'toggleTextdirection' => esc_attr( __('Toggle Editor Text Direction') ) )); }
As for the code used in
wp_localize_script
, I got it straight from source: https://core.svn.www.ads-software.com/trunk/wp-includes/media.phpPS: Cross-posted from https://wordpress.stackexchange.com/q/56742/10691
@caspararemi I have no way to test it right now (not until tomorrow), but yeah, it looks like yet another problem ?? For the time being head here: https://www.ads-software.com/support/plugin/wordpress-seo-news
hey David, why don’t you tweet @yoast and let him know directly? ?? And don’t forget to mark this thread as resolved.
Okay everyone, you can get WordPress SEO News from the official repository now: https://www.ads-software.com/extend/plugins/wordpress-seo-news/
I’ve just installed it, and it seems to work. No issues so far ??
PS Don’t forget to delete the wordpress-seo-modules directory in
/wp-content/plugins
@all Just got to my PC and tested this, yes, there seems to be a problem. Joost is currently looking into it, checking if he’s committed the right code. I guess we can expect fixes soon ??
@all good news! News SEO is now officially plugin (not a module like before), and you can download the latest version from GitHub right away — https://github.com/jdevalk/Google-News-Sitemap
PS: Thank you Joost!