WPKube
Forum Replies Created
-
Hi @termspec
There might have been some field name changes.
I do not have access to Interspire (it’s a bit expensive to get for a test, it’s $500).
Can you create a simple subscription form through Interspire (more info on that) and send over the HTML code it gives you, I can get all the info needed from that HTML and figure out what’s wrong with the one from our plugin.
Thanks.
Your assistance would be appreciated and if we can get this to work I would be happy to upgrade a paid version
Thanks. We don’t have a paid version at the moment but there are plans for the future.
You’re welcome and thank you for understanding 🙂
You’re welcome.
Can’t say for sure, sorry.
For now it’s low priority, if more Replyable users ask about it we’ll increase the priority but for now I can’t guarantee anything.
Since it’s a free plugin the time and money we can invest in it is a bit limited and needs to be put into things that benefit a large number of users.
You’re welcome and thank you for the kind words and the rating.
All the best to you as well.
Thanks for the detailed explanation, I see the issue now.
Did a quick google search and actually ran into the support request you posted 14 hours ago on LearnPress support 🙂
I went to their site to check if there’s any info for developers, got hopeful when I saw “Developer Guide” at https://docspress.thimpress.com/learnpress-version-3/ but unfortunately that page is empty at the moment.
So I went looking through the LearnPress code and found a solution.
Above the if statement we talked about earlier, add this:
global $lp_course_item; if ( $lp_course_item ) { $lesson_id = $lp_course_item->get_id(); echo $this->wrap_line_breaks( get_post_meta( $lesson_id, '_ec_head_code', true ) ); }So that’s separate code, not changing any of the existing code. The full
output_head_codefunction will then look like this:public function output_head_code() { $option = get_option( 'ec_options' ); if ( isset( $option['ec_head_code'] ) ) { echo $this->wrap_line_breaks( $option['ec_head_code'] ); } global $lp_course_item; if ( $lp_course_item ) { $lesson_id = $lp_course_item->get_id(); echo $this->wrap_line_breaks( get_post_meta( $lesson_id, '_ec_head_code', true ) ); } if ( is_singular( $this->get_enabled_post_types() ) ) { echo $this->wrap_line_breaks( get_post_meta( get_the_ID(), '_ec_head_code', true ) ); } }There’s also the footer code, it’s the function below. So add the same code in there as well and just replace
_ec_head_codewith_ec_footer_codeForum: Plugins
In reply to: [Subscribe To Comments Reloaded] Selective useNo, sorry, there’s no option for that at the moment. There is a way to disable it on specific posts (by adding a custom field with the name
stcr_disable_subscriptionsand valueyes).Will add it to the todo list but can’t say for sure when it would be implemented.
Hi @rezocom
No, sorry. There’s no import functionality for Replyable at the moment.
Ok, so it’s definitely not the if statement which brings us back to the other function I mentioned,
get_the_ID()Just above the if statement add
echo 'the id is' . get_the_ID();So that whole section looks like this:
echo 'the id is ' . get_the_ID(); if ( is_singular( $this->get_enabled_post_types() ) ) { echo $this->wrap_line_breaks( get_post_meta( get_the_ID(), '_ec_head_code', true ) ); }You won’t see anything displayed on the page itself since that will be part of the
<head>but if you look at the source code (right click somewhere on the page and then select “view source”) and do a search for “the id is” you will see it.It will say something like “the id is 134”. That will be the numeric ID of the post it’s trying to get the codes for.
Is that ID the same as the one you see when you go to edit the course in the WP admin? You can see the ID in the URL, it’s like
wp-admin/post.php?post=134&action=edit&tab=course_settingsForum: Plugins
In reply to: [Cool Tag Cloud] Tags not working on main menu pageYou’re welcome.
The file is:
wp-content/plugins/embed-code/includes/class-ec-plugin.phpOn line 73 you should see:
public function output_head_code() {That’s the start of the function that handles the output of the head code.
Below that, on lines 80-82 you should see:
if ( is_singular( $this->get_enabled_post_types() ) ) { echo $this->wrap_line_breaks( get_post_meta( get_the_ID(), '_ec_head_code', true ) ); }That’s the part of the code that checks if we’re currently on a single post page of a public post type and if we are output the head code for that post.
The first test is to simply get rid of that check. So those 3 lines become this:
echo $this->wrap_line_breaks( get_post_meta( get_the_ID(), '_ec_head_code', true ) );After making that change try visiting the course and let me know if the head code gets added.
After the test you can put back the original code.
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] Request to subscribe leads to page not foundYou’re not getting a subscription confirmation email? That worked before, correct? The change I mentioned in the previous email does not have an effect on that functionality.
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] 1,000s of ghost subscriptionsHi @paullee357
Those are most likely through the “subscribe without commenting form”. Spam bots going through the site, run into the form and submit it.
There are a few anti-spam functionalities in the plugin that you can enable.
1) Challenge question/answer (WP admin > StCR > Options)
2) Google reCAPTCHA (WP admin > StCR > Options)
3) Disabling the “Subscribe without comment” (WP admin > StCR > Management Page)You can clear all subscriptions at once in WP admin > STCR > Options. At the bottom is the button for that, make sure to switch it to “Yes” so it deletes subscriptions as well.
Forum: Plugins
In reply to: [Cool Tag Cloud] Tags not working on main menu pageHi @michaeljb
Widget visibility plugin should help out here.
So you would add 2 “Cool Tag Cloud” widgets, same options except one set to show “All Tags” and the other “Tags from the shown post”.
Then with the options that Widget Visibility adds you would hide the “all tags” widget on product pages and hide the “tags from shown post” widget on the listing page.
Forum: Plugins
In reply to: [Cool Tag Cloud] Tags not working on main menu pageHi @michaeljb
That’s weird.
At the moment you have the option “On single post display” set to “Tags from the shown post”, correct?
Can you switch that option to “All tags” and let me know what happens? If it works that way then for some reason on the /store/ page it thinks that it’s actually on a single product page.
Which can happen if the product listing that comes before it does not reset the query (which is a requirement when doing custom queries) which means from what point in the page execution WordPress thinks it’s on the latest product from the listing and not on the /store/ page.
Forum: Plugins
In reply to: [Simple Basic Contact Form] Position after successHi @gpfnz
The originally mentioned issue will be fixed in an update this week.
Ideally, the page would *not scroll at all* after submission and remain right where it is.
You are referring to AJAX submissions, correct? So the submission of the form would be done without a page reload, correct?