@Ben Iskander,
Were you able to successfully implement Elasticsearch? Did you get the ajax live search to work with Elasticsearch?
Any quirks to watch out for?
I spoke too soon. I tried this on both the production server and a dev server, but the main menu search bar still pulls in search results.
I then followed the instructions here, editing another file: https://forum.tagdiv.com/topic/search-issue-error-508-resource-limit-is-reached/
Still, the search bar works as before, querying the massive db as the visitor types. Cache was cleared. Is there another file, which needs altering?
Again, I’m only trying to disable the live search function, because of the size of our website. The search function as-is has caused severe performance issues at times, even though we’re running on a dedicated server with lots of resources.
The solution in the screenshot to comment out code is perfect. Thanks!
@GadgetViper, disabling and enabling the theme does not affect stored information. It does however affect the presentation of that information. So, when you disable the theme, you will see a strange looking website (same if you disable Visual Composer), but your layout is saved behind the scenes, in the DB. Once you re-activate the Newspaper theme, all items will show up as normal.
When you do this, ensure that your caching/optimizing plugins like WP Supercache, Autoptimize, etc… are also flushed.
This was on Newspaper 7 install, btw. I just realized the original post was under Newsmag.
Hi,
Here is a simplified way of adding a ‘share by email’ icon. It works for us, but you must update one theme file after each theme update. (won’t work by adding in child theme)
This method simply calls on the default mail client to open on a desktop, and does not use WP to actually send the email, which we did not want anyway, to avoid any spamming.
File: ../themes/Newspaper/includes/modules/td_module_single.php
I added this line after ‘Pinterest’ link and before ‘Whatsapp’:
EDIT: PHP code was sanitized on this post, so here is the screenshot of it:

And here is the CSS:
/* SOCIAL SHARING - EMAIL ICON */
.td-social-email {
background-color: #00aeef;
margin-left: 10px;
padding-left: 11px;
}
.td-icon-mail::before {
content: '\e810'; /* or '\e820' */
font-size: 19px;
}
Enjoy 🙂
-
This reply was modified 9 years by
pinnaclecompass. Reason: sanitized PHP replaced by screenshot of code
+1 as well. I know you have other priorities. Hopefully you can fit this in sometime. Great work on the theme.
I figured it out.
I edited Newspaper/parts/header/top-menu.php, line 58: http://www.screencast.com/t/6ohEue06cz
The commented out line above the highlighted part is the original line. I just replaced the contents in between the ‘li’ tags.
I figured it out.
I edited Newspaper/parts/header/top-menu.php, line 58:
FROM:
<li>CONTENT TO REPLACE (pasted code was sanitized) BETWEEN li TAGS</li>
TO:
<li><a href="https://www.YOURSITEHERE.com/registration-page/" target="_parent">REGISTER</a></li>
-
This reply was modified 10 years by
pinnaclecompass.
Hi Andrei,
I have a similar resource issue. Can you please advise on how to edit the min.js file correctly, to turn OFF autocomplete?
Thanks in advance.