Cibulka
Forum Replies Created
-
In case it helps, we have a constant WPMS_DO_NOT_SEND to stop sending all emails from your site.
– this does not help my situation as it disables
wp_mail
function althogether. I need the emails to be sent, just not with the WP Mail SMTP plugin.We don’t have developer documentation yet. This is on our radar though.
– cool, looking forward to that!
Just found out where the problem was. TLDR; Wrong hook.
I was getting my credentials from
.env
files and – silly me – I was settings the constantWPMS_SMTP_PASS
fromadmin_init
hook. That means that plugin received the password *only* in admin, but not at the front-end or login screens.So I will just leave it here in case somebody finds that helpful. ??
Forum: Hacks
In reply to: Get current post_type from wp_loaded hookThat is pretty much what I was thinking. Thanks!
It doesn’t matter. URL just has to start with “https://”.
Forum: Hacks
In reply to: post_tags_meta_box() – Javascript functionality no longer worksOkay, here goes an answer at WP StackExchange: Can custom taxonomies be displayed inside of a custom meta box?
Finally, note that in the case of “Keywords” or any other Tag-like taxonomy, this will not be enough. The tags metabox functionality is achieved via JS, which depends on selectors that are not created by the function above. In my case this was solved by adding the class “inside” to the keywords div, and by adding these lines to a separate JS file:
$('.keywords').each(function(){ tagBox.init(); return false; });
For some reason, I’m still not able to get it working though …
Hi Lydia,
just replace “www.” to “https://” in your HREFs. ??
Also, you can remove
target="_self"
as it refers to<iframes>
that you do not use.Live well!
I am still having completely irrelevant stylesheets on my header. They go as follows:
<link rel='stylesheet' id='nextgen_basic_thumbnails_style-css' href='https://localhost/sarkakrapova-new/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/static/thumbnails/nextgen_basic_thumbnails.css?ver=3.6.1' type='text/css' media='all' /> <link rel='stylesheet' id='nextgen_pagination_style-css' href='https://localhost/sarkakrapova-new/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_pagination/static/style.css?ver=3.6.1' type='text/css' media='all' /> <link rel='stylesheet' id='nggallery-css' href='https://localhost/sarkakrapova-new/wp-content/ngg_styles/nggallery.css?ver=3.6.1' type='text/css' media='all' />
There are also those mysterious pieces of Javascript code:
<script type='text/javascript'> /* <![CDATA[ */ var photocrati_ajax = {"url":"http:\/\/localhost\/sarkakrapova-new\/photocrati_ajax","wp_site_url":"http:\/\/localhost\/sarkakrapova-new","wp_site_static_url":"http:\/\/localhost\/sarkakrapova-new"}; /* ]]> */ </script> <script type='text/javascript' src='https://localhost/sarkakrapova-new/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/static/ajax.js?ver=3.6.1'></script> <script type='text/javascript' src='https://localhost/sarkakrapova-new/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/frame_communication/static/frame_event_publisher.js?ver=3.6.1'></script>
Does anyone know purpose of those strangers? I’m using NextGen gallery mainly for its back-end functionality, so my front-end is really basic. Is it SAFE to remove them and if so, what are their IDs to dequeue the suckers? ??
Thank you!
Forum: Plugins
In reply to: [Twitter posts to Blog] Span wrapper (class "twitter-post")Very much! And your response time is unbelievable. ?? Thanks and keep up the great work!
Forum: Plugins
In reply to: [Twitter posts to Blog] Span wrapper (class "twitter-post")Hello again badreze,
thanks again for very quick reaction! Unfortunately the problem kind of persists.
The wrapper changed from
<span>
to<p>
in the current update, which unfortunately still dashes againstwp_autop
– it basically outputs content wrapped in paragraphs around paragraps. ??<p class="twitter-post"> <p><!--added by wpautop--> <?php // content ?> </p> </p>
If there is some need for the posts to have wrappers, I would suggest plain old
<div>
. What do you say?Thanks again!
Forum: Plugins
In reply to: [Twitter posts to Blog] Span wrapper (class "twitter-post")Wow, this is a hell of a plugin support, sir! Thank you very much! ??
Forum: Plugins
In reply to: [Custom WP Login Widget] Language – some changesVery useful & works, thank you captain!
Forum: Plugins
In reply to: [WordPress Dashboard Tweeter] Show Twitter feed on themeThank you for a fast reply! And yes, I know about other plugins, I just wanted to use one sollution for “the Twitter stuff” on my website.
Forum: Fixing WordPress
In reply to: Adding NEWS SECTION to the POST – What is the best approach?bcworkz: Thank you for a reply!
Unfortunately you got me lost a little bit. How do I create submenu? Will it work via custom fields functionality? How the date would be added?
Actually I found a plugin that does the “wp_query” sollution: Live Blogging. The downside is that it seems to be quite heavy & that for some weird reason it doesn’t work with custom post types. I am posting the question about CPTs here.
So far I will stick with “wp_query” sollution and work with WP Quickpress functionality. Right now I’m looking into possibilities how to implement custom fields to Quickpress (for uploading file and inserting a link).
Thank you!
Forum: Themes and Templates
In reply to: Related posts as a fully controled wp_queryAs it usually is, I’ve found a sollution few hours after starting the thread.
Check MICRO KID RELATED POSTS plugin: https://www.microkid.net/wordpress/related-posts/
It is not the ultimate sollution (mainly due to the lack of customization), so I’m leaving the thread unresolved.