think2wice
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Views for Jetpack] How to insert commas between large numbersNo problem! I see that you have plans to implement the “K” and “M” letters for the bigger numbers (thousands and millions) so I assume the comma thing won’t even be necessary, unless you plan on giving users the option of which version to use in the settings.
Anyhow, for now, I was able to come up with a quick workaround that appears to work fine (so far so good).
See below:
<?php echo ' ' . number_format( do_shortcode( '[jp_post_view]' ) ); ?>
- This reply was modified 6 years, 11 months ago by think2wice.
Forum: Plugins
In reply to: [Post Views for Jetpack] How to replace 1000 views with k???I second that feature request! ??
Not sure if this helps, but someone has the PHP code for the formatting here:
- This reply was modified 6 years, 11 months ago by think2wice.
- This reply was modified 6 years, 11 months ago by think2wice.
Forum: Plugins
In reply to: [Insert Post Ads] Stop ads from showing on AMP pagesI did some Googling and figured out this is the proper code to insert into functions.php:
add_filter('insert_post_ads_enabled', '__return_false');
However, this disables the plugin on my AMP pages as well as my regular pages. I believe the problem is that our “functions.php” file is shared across regular pages and AMP pages. Is there a way to disable the plugin SPECIFICALLY on AMP pages? I assume there’s some sort of “if/else” query I should wrap around the filter or something?
By the way, I’m using the official WordPress AMP plugin from Automattic.
- This reply was modified 7 years, 8 months ago by think2wice.
Forum: Plugins
In reply to: [Insert Post Ads] Stop ads from showing on AMP pagesThank you for the fast reply! My apologies for the delayed response on my end. I assume I’m supposed to insert this in the “functions.php” file, however, I don’t know anything past that. Can you please provide the EXACT code I am to insert to make this work?
Forum: Plugins
In reply to: [AMP] Can't change Schema.org (JSON) Metadata Publisher LogoThanks Mohammad! The issue was coming from Yoast Glue. I’ve disabled it and now the correct logo is showing up in the schema.org metadata.
Forum: Fixing WordPress
In reply to: HP Warning: json_encode(): Invalid UTF-8 sequence in argumentI’m having the same issue and it’s affecting the performance of my site. I didn’t start having this problem until I updated to 4.3 on Monday, Sep. 7. If anyone could help us (myself and Romeon as well) figure out a way to fix this issue that would be great.
Forum: Plugins
In reply to: [Oomph Clone Widgets] Not working with 4.3Wow, thanks vensonkuchipudi! That was so simple. Now the plugin works just like it used to!
Also, if anyone is interested in a simple aesthetic change, change this line:
.oomph-cloneable:hover a.clone-widget { margin-left: 0; }
To this:
.oomph-cloneable:hover a.clone-widget { margin-left: 0; cursor:pointer; }
Now, when you hover over the “plus” button, you see the pointer finger instead of the cursor. Small change, but it keeps everything running/looking smooth!
Hi, still patiently waiting on that update! No rush here, just making sure you didn’t forget about me.
Wow, thanks for the fast response! Looking forward to the update.
Anyone? lol
Can anyone help me out with this?
Forum: Fixing WordPress
In reply to: Can’t upload pictures on Network siteStill not working ??
Forum: Fixing WordPress
In reply to: Can’t upload pictures on Network siteOh, and FYI: If you click the link and it gives you a “403 error” that’s the hotlink protection.
Forum: Fixing WordPress
In reply to: Separate posts into sections by dateWhat is the proper query/loop to do what I want to do?
Forum: Fixing WordPress
In reply to: Separate posts into sections by dateWill I be able to use a WordPress loop to display the “posts” ? I would like to be able to show the number of views, a thumbnail, the title and whatever else could be included in a standard WP loop. This will also be used on my site’s home page. Can it be used that way?