Sohail Ahmed
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Popular Posts] Amp visits countI have manually added the wpp.min.js code to AMP version using:
<script data-ampdevmode type="text/javascript" src="https://www.xxxxx.com/wp-content/plugins/wordpress-popular-posts/assets/js/wpp.min.js?ver=6.4.0" id="wpp-js-js"></script>
Its now recording the visits but its giving the following error in console log: https://pasteboard.co/BBwHdfo0vi08.png
Forum: Plugins
In reply to: [WordPress Popular Posts] Amp visits countSo any plans to add this feature anytime soon now?
Forum: Plugins
In reply to: [WordPress Popular Posts] Amp visits countJetpack claims to record amp visits..
anyways, I do have access to inject any JS code into the amp page. Can you guide me on what has to be injected in order to count the visits?
@wpsmort done. Please check.
@wpsmort Yes, posting is allowed only for logged in users. Can you share me an email id where I can send you test account credentials.
Forum: Themes and Templates
In reply to: [Blocksy] Remove pages from search resultFound a solution though!
I used custom HTML instead of the default search widget and entered the search form HTML code along with a hidden field and now it works!
<input type="hidden" name="post_type" value="custom_post_type">
Is there a way to prioritize a post in search results if a specific category or tag is selected?
- This reply was modified 3 years, 6 months ago by Sohail Ahmed.
Forum: Themes and Templates
In reply to: [Blocksy] Remove pages from search resultThank you for your quick response. Option for selecting post types is available only for header search form. But unable to modify the options for the widget search form.
It still shows pages in the search result.
Custom post type is same as a post, but its not displaying widget “Blog Widgets” on cpt..
Forum: Fixing WordPress
In reply to: Moderator neededI want to remove a my site link from wordpress topic because its appearing in search on 4th position… Please help
Forum: Fixing WordPress
In reply to: Redirects to 302 instead of 301 after installing sslFixed it:
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^ https://www.example.com%{REQUEST_URI} [NE,R=301,L]Forum: Fixing WordPress
In reply to: Redirects to 302 instead of 301 after installing sslHostbigspace.com