- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
We are using Newspaper theme to publish an online health magazine. Works great!
We want to include a doctor directory.
We’d like to place 3 form fields at the top of a page…
Location (with a drop-down menu of location categories)
Specialty (with a drop-down menu of specialty categories)
Keyword (open form text field)
First question… does Newspaper have a form element or widget?
Second question… assuming I use a plugin like Contact Form 7, how do I build a query from the form fields to generate the proper category posts?
For example, if someone entered “Chicago” in the location field and “Dentist” in the specialty field… I would want to see all posts assigned to both the Chicago and Dentist categories.
Any help would be much appreciated.
Thanks.
Ken
Hello,
I have another question, thanks for the fast respond earlier.
1. Can you give me the custom css to create borders for Block 4 and 5.
2. I would like to change the font color for Title, and Date, what is the code to change it?
Thanks!
a) disable option in Yoast SEO to remove /category/
b) try resaving your permalinks, make sure your htaccess file is writable
c) try putting in the implicit path to your website and theme folder in wp-config.php (see the codex docs on wordpress.org for how to do that; I think I also have example in my sticky post on site optimization)
d) remove any old themes and plugins you no longer use
This is the page:
http://mitti.artilect.com/wordpress/
Example of the menu working on pages other than the frontpage:
http://mitti.artilect.com/wordpress/archives/tag/botk
It is not a caching issue. We have explored that possibility carefully and caching is currently turned off.
It looks to me as if the frontpage uses another header template than the other pages, i.e. it uses parts/header/header-menu.php while other pages use parts/header/top-menu.php and the code is slightly different. So perhaps there is some issue with header-menu.php which makes it not recognize the menu…?
Hi Guys.
I have Newspaper the latest version V 6.3.2.
My website is http://www.faceofmalawi.com
1) My problem is that the News ticker, homepage pagination, mobile menu are not working. Here are the details of each:
News ticker: shows the first post and when i click on next icon,, nothing comes up a # is just added to the end of my url.
Homepage Navigation: I tried all 3 options of navigation (prev&next, infinity load, load more button) nothing happen when i click them on the homepage, just a # is added to the end of my url. But on category pages and others pagination works fine. Its only the homepage thats unable to work these functions.
Mobile Menu : When I click/touch on the menu icon while on mobile device the menu does not come up just a # added to the end of my url.
Being a developer I got to thinking this might be some js or jquery problem – all related, but i couldnt find what is causing it. Even tried to deactivate all plugins except Visual composer incase of a conflict but the problem still persists. What could be the issue here? please check my site as the problem is still like this url: http://www.faceofmalawi.com
2) Not sure if this is related to problem number 1 above, but when I mouse over menu items on desktop site there sub items do not display until I am directly mouse overing the specific item, Also note that when I installed theme images were not showing so I searched this forum and used the ‘opacity‘ work-around to show the images, could this also be what I need to do for these menu items. Please advise.
I like v6 of the theme, you guys did a really great job if you can help me with these minor issues I would be very grateful.
Regards
Sean
Theme doesn’t control user levels; you need to use a plugin for that — this is a ‘user role’ function.
ref
https://codex.wordpress.org/Roles_and_Capabilities
this plugin is fairly popular as just one example
https://wordpress.org/plugins/capability-manager-enhanced/
I do have it applied but there are two widget headings on the sidebar that the css did not change. See example please.
http://www.screencast.com/t/R7tGWQrf
Edit: Also, these widgets don’t that their own heading color picker.
-
This reply was modified 11 years by
k24.
Speed booster plugin is a very handy feture to have, and it is not that hard to use. I belived that the same script list is always the same no mather what page I am visiting after updating functions.php file.
For example I never left backend after inserting that code, thats why the list was different and not usable.
I accidentaly visited front page and different list catched my eye above content, then I figured everything out.
From my part this plugin is working perfectly.
I’ve been on holidays and upgraded now to 2.1.
When trying to change some settings (like fonts) clicking on (example) “header” there is just the rotating symbol and nothing opens. Happens on translations too, which is bad because some of the german translation “suck” 🙂
Any advice?
Im kind of new to cache and CDN tools. Does it make sense to run Cloudflare, WP Super Cache, & Speed Booster plugin on your website at the same time? What would you suggest I use to improve page speed times? I feel like I can use all three within their strengths. Cloudflare for CDN, WP Super Cache for caching, and Speed Booster to cleanup. Any opinions, best practices that have worked best?
Hm.
you can try loading a post page in Chrome, then hit F12 and it should tell you if there is some bizarre unclosed div tag or something.
And of course, make sure you don’t have your zoom set to 150% or something as that always wrecks some stuff with VC 😉
I have not yet updated to the latest-latest version so my comments are probably more anecdotal from 10 years of WordPress gremlins …
look like you will need to redo your homepage … which can often be quickly tweaked by redragging a couple of rows into place to see if they work or not.
Most people just redo the home page layout to get on with their life.
On your posts, having two sets of social media codes at bottom likely not a good idea … if using a plugin, try turning OFF the ones built into the theme as a starting point.
For example on this page, in the console there is a ton of object fails from twitter:
http://gadgetviper.com/seagate-seven-portable-hard-drive-rant/
hmmmm…. okay weird the docs seem to work for Newsmag docs but not in the Newspaper docs for “full ad system” with examples … the link you’re seeing in the panel is for the docs, and go nowhere.
From the newsmag docs you can see and example like so:
https://forum.tagdiv.com/ads-system-full-guide/
example code for placing HTML into the ad box — as shown in your screen cap — that big box is where you put your HTML like an image link wrapped in anchor link.
as so:
<div class="td-visible-desktop">
<a href="http://google.com" target="_blank"><img src="http://demo.tagdiv.com/newsmag/wp-content/uploads/2014/08/rec728.jpg" alt="" /></a>
</div>
<div class="td-visible-tablet-portrait">
<a href="http://google.com" target="_blank"><img src="http://demo.tagdiv.com/newsmag/wp-content/uploads/2014/08/rec468.jpg" alt="" /></a>
</div>
<div class="td-visible-phone">
<a href="http://google.com" target="_blank"><img src="http://demo.tagdiv.com/newsmag/wp-content/uploads/2014/08/rec320.jpg" alt="" /></a>
</div>
-
This reply was modified 11 years by
simchris.
How can I add my site “MORE STORIES”?
example – 
RESOLVED … after inserting code to functions.php, you have to visit front page to get the right list above.
This should be clearified in instructions. For example I am using custom functions plugin, becouse I don’t wanna edit theme files, and I just dont like to use child themes. 🙂
Hey guys,
I wanted to create something like this clickable product image gallery at the top of the page in the link below. As you can see each product is linked out to a page but I would like to know how I can achieve this look and have the user directed to an Amazon or other affiliate like once each image is clicked
I would like to get a similar look and link the products individually as in the example, the problem I’m having is I’m not sure how to embed something like this into a post.
I have switched to Visual composer on the post page and added the items as a separate image but this leaves a thin line at the right hand side of the items.
I have tried to recreate the same thing with masonry grid but there’s nowhere to add the link to the affiliate product.
Is there a simple way of doing this or maybe a plugin that I can use?
Many thanks
D
Hi, I tried to add js and css to footer from other plugins following instructions that you gave here: https://forum.tagdiv.com/page-speed-guide/
I followed pictures, and when I enter ”that” code to functions php I get list which I also copy to .txt
Then I run google insights and get information that I simply cant’t find on that list in .txt to get file id.
I found only 1 file id, which I included in that td-speed-booster.php, but when I made test again, there were no changes. I did delete the code that turns td-speed-booster off, so now it is ON all the time.
Please help me resolve this issue.
This is what I get when I enter ‘that’ code to functions.php:
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
upme_admin_tipsy_js | http://badhat.ninja/wp-content/plugins/upme/js/jquery.tipsy.js
upme_admin | http://badhat.ninja/wp-content/plugins/upme/admin/js/upme-admin.js
upme_admin_modules | http://badhat.ninja/wp-content/plugins/upme/admin/js/upme-admin-modules.js
jquery-ui-sortable | /wp-includes/js/jquery/ui/sortable.min.js
upme_tabify | http://badhat.ninja/wp-content/plugins/upme/admin/js/upme-tabify.js
upme_tmce | http://badhat.ninja/wp-content/plugins/upme/admin/js/tinymce_language_strings.js
upme_chosen_js | http://badhat.ninja/wp-content/plugins/upme/admin/js/chosen/chosen.jquery.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
codemirror | http://badhat.ninja/wp-content/plugins/my-custom-functions/inc/codemirror/lib/codemirror.js
codemirror_xml | http://badhat.ninja/wp-content/plugins/my-custom-functions/inc/codemirror/mode/xml.js
codemirror_javascript | http://badhat.ninja/wp-content/plugins/my-custom-functions/inc/codemirror/mode/javascript.js
codemirror_css | http://badhat.ninja/wp-content/plugins/my-custom-functions/inc/codemirror/mode/css.js
codemirror_htmlmixed | http://badhat.ninja/wp-content/plugins/my-custom-functions/inc/codemirror/mode/htmlmixed.js
codemirror_clike | http://badhat.ninja/wp-content/plugins/my-custom-functions/inc/codemirror/mode/clike.js
codemirror_php | http://badhat.ninja/wp-content/plugins/my-custom-functions/inc/codemirror/mode/php.js
wpuf-subscriptions | http://badhat.ninja/wp-content/plugins/wp-user-frontend/assets/js/subscriptions.js
wp-color-picker | /wp-admin/js/color-picker.min.js
jquery |
media-upload | /wp-admin/js/media-upload.min.js
thickbox | /wp-includes/js/thickbox/thickbox.js
wpseo-admin-global-script | http://badhat.ninja/wp-content/plugins/wordpress-seo/js/wp-seo-admin-global.min.js
td_wp_admin | http://badhat.ninja/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin.js
td_wp_admin_color_picker | http://badhat.ninja/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin_color_picker.js
td_wp_admin_panel | http://badhat.ninja/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin_panel.js
td_edit_page | http://badhat.ninja/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_edit_page.js
td_wp_admin_demos | http://badhat.ninja/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin_demos.js
td_page_options | http://badhat.ninja/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_page_options.js
td_tooltip | http://badhat.ninja/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/tooltip.js
all-wp-rocket | http://badhat.ninja/wp-content/plugins/wp-rocket/inc/admin/ui/js/all.js
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
colors | 1
ie | /wp-admin/css/ie.min.css
upme_admin | http://badhat.ninja/wp-content/plugins/upme/admin/css/upme-admin.css
upme_admin_tipsy | http://badhat.ninja/wp-content/plugins/upme/css/tipsy.css
upme_font_awesome | http://badhat.ninja/wp-content/plugins/upme/css/font-awesome.min.css
upme_google_fonts | //fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700&subset=latin,latin-ext
upme_chosen_css | http://badhat.ninja/wp-content/plugins/upme/admin/js/chosen/chosen.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
codemirror_style | http://badhat.ninja/wp-content/plugins/my-custom-functions/inc/codemirror/lib/codemirror.css
td-plugin-framework | http://badhat.ninja/wp-content/plugins/td-api-plugin/wp-admin/style.css
wp-color-picker | /wp-admin/css/color-picker.min.css
thickbox | /wp-includes/js/thickbox/thickbox.css
google-font-ubuntu | http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | http://badhat.ninja/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/wp-admin.css
admin-wp-rocket | http://badhat.ninja/wp-content/plugins/wp-rocket/inc/admin/ui/css/admin.css
And when I run PageSpeed Insights, I get this every time 5 js scripts blocking rendering and 12 css:
…-includes/js/jquery/jquery.js?ver=1.11.2
/jquery/jquery-migrate.min.js?ver=1.2.1
http://maps.google.com/maps/api/js?sensor=true /* This ones I even don't know how to fix */
http://maps.gstatic.com/…s-api-v3/api/js/21/8/intl/hr_ALL/main.js /* This ones I even don't know how to fix */
…user-frontend/assets/js/frontend-form.js
css
http://fonts.googleapis.com/…lic%2C400%2C700&subset=latin%2Clatin-ext /* Maybe this can be fixed with prefetch, or not, or maybe if I find the output of that exact font css and include it in css, help.. */
/…nt/plugins/upme/css/font-awesome.min.css
/wp-content/plugins/upme/css/upme.css
/…-content/plugins/upme/styles/default.css
/…ent/plugins/upme/css/upme-responsive.css
/…form-7/includes/css/styles.css?ver=4.2.2
/…tent/plugins/td-api-plugin/css/style.css
/…r-frontend/assets/css/frontend-forms.css
http://fonts.googleapis.com/…C400italic%2C600italic%2C400%2C600%2C700
http://fonts.googleapis.com/…A500%2C400italic%2C700%2C500italic%2C400
/…ser/assets/css/js_composer.css?ver=4.6.2
Thats that. I only found 1 file id match, the others are just not there, also that 1 I did found, adding it to td-speed-booster.php (which is always ON) didn’t change a thing.
Thanks
Hi,
I have checked your site and I did not found module 1 or 11 on your site. Please note that if you refer to the block 1 and block 11(that you have on homepage) it is not the same:
*block1 use module 4 and module 6 – http://screencast.com/t/B6ieZPRe
*block 11 use module 10 – http://screencast.com/t/bxyuRWXx
You can copy the views function anywhere you want in td_module.php file, for example after comments function like in single – http://screencast.com/t/rAFdAPtc28Hr This should work also in your case, unfortunately we cannot provide custom work at this time as the time doesn’t allow us, we can make only some suggestions!
Thanks!
Hello Everyone,
I need to customize the single post. Need help.I am working on a cooking recipes site, and i want to add appropriate schema markup in it. Here below is the example html code.
<div itemscope itemtype=”http://schema.org/Recipe”>
<h1 itemprop=”name”>Grandma’s Holiday Apple Pie</h1>

By <span itemprop=”author” itemscope itemtype=”http://schema.org/Person”>
<span itemprop=”name”>Carol Smith</span>
</span>
Published: <time datetime=”2009-11-05″ itemprop=”datePublished”>
November 5, 2009</time>
<span itemprop=”description”>This is my grandmother’s apple pie recipe. I like to add a
dash of nutmeg.</span>
<span itemprop=”aggregateRating” itemscope itemtype=”http://schema.org/AggregateRating”>
<span itemprop=”ratingValue”>4.0</span> stars based on
<span itemprop=”reviewCount”>35</span> reviews </span>
Prep time: <time datetime=”PT30M” itemprop=”prepTime”>30 min</time>
Cook time: <time datetime=”PT1H” itemprop=”cookTime”>1 hour</time>
Total time: <time datetime=”PT1H30M” itemprop=”totalTime”>1 hour 30 min</time>
Yield: <span itemprop=”recipeYield”>1 9″ pie (8 servings)</span>
<span itemprop=”nutrition” itemscope itemtype=”http://schema.org/NutritionInformation”>
Serving size: <span itemprop=”servingSize”>1 medium slice</span>
Calories per serving: <span itemprop=”calories”>250 cal</span>
Fat per serving: <span itemprop=”fatContent”>12 g</span>
</span>
Ingredients:
Thinly-sliced <span itemprop=”ingredients”>apples</span>:
6 cups
<span itemprop=”ingredients”>White sugar</span>:
3/4 cup
…
Directions:
<div itemprop=”recipeInstructions”>
1. Cut and peel apples
2. Mix sugar and cinnamon. Use additional sugar for tart apples.
…
</div>
</div>
Hi,
We are building our site on a development platform, and once it is ready to go live we will want to delete all the demo data and transfer it over to the real site.
I have two questions,
1. Is there an easy way to delete all the demo data or does that have to be done manually one at a time?
2. Will transferring the site over cause me to lose all my theme options? This is important that we don’t have to go through all of it again.
Thanks,
Sarah
Thanks! I would still recommend that you say it has to be numerical. I know your instructions give td_module_myname as an example, but when I was trying this out, only integers got converted to data-option-values. For example, with a module to which I gave the id td_module_myname:
http://www.screencast.com/t/tLWQagMtb8
Not sure why this is; it’s just the behaviour I’m seeing. It’s fixed when I make the suffix numerical.
NOT MY SITE!
Another great site example that uses the NewsPaper platform is http://youbeauty.com
Hi,
You can find an explanation and examples in this regard here: http://wordpress.stackexchange.com/questions/88327/importing-from-xml-is-ignoring-serialized-custom-field
The video link stored in the database is the same you add in the video section in post editor panel so it should be ok.
Thanks
Hi, i have some issues with the plugin (social network shared) because in some posts when i click in the shared button facebook for example dosent show the image, title and description of the post. For example on these links:
http://polosurtdf.com.ar/el-primer-trailer-de-steve-jobs-3/
http://polosurtdf.com.ar/listado-oficial-de-inscriptos-gph-2015/
http://polosurtdf.com.ar/psg-fichara-a-di-maria-por-e63-millones-y-el-fideo-se-trasformara-en-hombre-record/
please could you heplme to fix this??
Thanks in advance.
Hello again Emil, but the problem with the images alignment in the Smart List start again (I have not deleted the code). Example:
http://www.lacasadeel.net/2015/08/las-princesas-disney-en-version-realista.html/
Hi guys,
I’ve been getting this error (see screenshot) in all my category pages after updating to version 2.1 of the theme. Please advise.
(here’s a url example: http://www.brazilophiles.com/film/)

Thanks!