- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hello,
This might sound like a ridiculous question, but I’d sort of a newb to certain things theme related. I need to change the order of the drop down menu items & I’m not quite sure how. Is that done in the Appearance>Menus section of the WordPress dashboard? Thanks for the help.
CB
Hello, Tagdiv forum good people!
we are use for 3 months newspaper, the an amazing experience theme. They did a very good job.
My profesional website: Turkish populer science, culture, art, history, social contents and trend informations blog. The website features content in categories such as general, science and technology, entertainment, religious, culture and arts, history, literature, social, life, communication, and quality contents. Forum and Question & Answer section are in website.
Notdefteri – Bilgi, Kültür, Sosyal İçerik Blogu
We started to use since 2015 newspaper. I send to form for showcase. Congratulation Tagdiv team!
Hi Sir, at the search widget box. Can we put in same text
example”Search here” ?
Thanks
Hi
To achieve that you will need to modify the function which generate the category tags for modules: http://screencast.com/t/Kk0twpb0E An example of a possible implementation would be the function which generate the category tags for posts: http://screencast.com/t/lU2XOqD4 – http://screencast.com/t/BYNjF8c6Xg
This is just an example. To have the function working on modules are required some customimations. You can try to implement this if you want but it’s not an easy task. Basically you will need to pass all category tags trough a foreach cycle and assign them a color from theme panel > theme colors. For posts this step it’s made by this code: http://screencast.com/t/I8kF3HauE4V
Hope this help.
Thanks!
Hello T2N,
Unfortunately, our theme does not have such an option as you wish, sorry! You can achieve the rotate effects by using a plugin like AdRotate for example. We usually recommend AdRotate because most users seem to have it working properly on their website. Unfortunately, I have no better solution as this type of plugins is not tested.
If you want to display more levels in our theme and you are not aware the steps in this regard, please consider hiring a freelancer/developer to implement these functionalities for you in our theme because we cannot provide custom services at the moment, sorry!
Hope this helps!
Thank you for your understanding!
Hello JBH,
Our theme uses a lot of predefined thumbnails in blocks and modules. If you check the Theme panel->Block settings area you can see the list with all dimension of the thumbs wich is used in the theme and which elements -> blocks/modules uses -> http://screencast.com/t/tQuimSer9 If you want to exclude the cropping system wich you have to use the right dimension for your images.
Our theme uses the system of cropping from center to top. The theme uses thumbs to reduce the page size and speed up page loading time. From each image uploaded are generated thumbs for each thumb size used by the theme. Basically, when a post it’s displayed on the page in a block, the featured image displayed is not the one which you uploaded in the media file, it’s a thumb cropped from the original image at the precise dimension. To change the picture orientation most likely you will need a different cropping system. We use a WordPress function – add_image_size() – you can read about it here – https://codex.wordpress.org/Function_Reference/add_image_size – and here – http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
Our theme crop (cut) thumbnails in some cases to avoid creating a lot of thumbnails in order to reduce to load more spaces on the server.
If you don’t have the possibility to upload large images you could use a combination of plugins to upscale the thumbs – Thumbnail Upscale and Force Regenerate.
Hope this helps and let us know how it goes!
Thank you for the message!
Hi Andrei,
My concern is that, is there any way to replace the “<” “>” indicator icons to “next” & “Prev” text of pagination?
Thanx!
-
This reply was modified 10 years by
durgatripathy.
Hi,
yes I can set up a side bar and I have got a ‘most popular news’ on my site already but it shows random post.
I want to set it up to show, for example the most read post (visited article) on site since the last week or months on sidebar… How can I set this up?
I don’t want it to show random post.
Thanks
Hey,
We were able to add config to each of the block settings (in visual composer) using a function hooked to admin_init. This allows the user to specify a list of terms in that taxonomy and filter the results by those terms.
function extendCustomTaxonomyOptions() {
// Check if Visual Composer is installed
if ( ! defined( 'WPB_VC_VERSION' ) ) {
return;
}
// Retrieve all Lifestyle taxonomy
$terms = get_terms('name_of_your_custom_taxonomy_here');
if( !is_wp_error( $terms ) && count( $terms ) > 0 ) {
$dropdown = array(
'Disabled' => 'disabled',
'All Custom Taxonomy Terms' => 'all'
);
foreach( $terms as $term ) {
$dropdown["- {$term->name}"] = $term->term_id;
}
// Param to be added
$new_param = array(
'type' => 'dropdown',
'heading' => 'Filter based on custom taxonomy',
'param_name' => 'adv_filtering_custom_taxonomy',
'group' => 'Filter',
'admin_label' => true,
'value' => $dropdown,
'description' => __( 'If selected, will further filter the posts based on the custom taxonomy', 'vc_extend' )
);
// Integrate and add new parameter to the options available from the parent theme
// See https://wpbakery.atlassian.net/wiki/pages/viewpage.action?pageId=524335 for more info
for ( $i = 1; $i <= 16; $i++) {
vc_add_param( "td_block_{$i}", $new_param);
}
vc_add_param( "td_block_slide", $new_param);
}
}
Then we added some custom code in a child theme copy of the td_data_source class to read those settings and filter the results. This was added to the end of the td_data_source::shortcode_to_args() function, just before returning the $wp_query_args:
if( array_key_exists( 'adv_filtering_custom_taxonomy', $atts ) ) {
if( $atts['adv_filtering_custom_taxonomy'] != 'disabled' && !empty( $atts['adv_filtering_custom_taxonomy'] ) ) {
// Add new taxonomy in the query
$query = array_merge( $wp_query_args, array(
'tax_query' => array(
array(
'taxonomy' => 'name_of_your_custom_taxonomy_here',
'field' => 'term_id',
'terms' => $atts['adv_filtering_custom_taxonomy']
)
)
));
}
}
Hope that helps!
Hello Sir,
1] On our site we put all comments under moderation.
In our site’s newspaper theme, when a visitor makes a comment its not visible to him so he makes 3-5 similar comments again in vain..
is it possible to show the visitor text like “Thanks for commenting, your comment is awaiting moderation” after he makes a comment
2] Also Sir plz let us know how to remove the url field from the comments, we do get lot of manual spam comments & wud like to altogether remove the url box from the comments to avoid the headache of every time editing the url & removing it for every comment
Awaiting reply
Best regards
I am looking for a similar feature. My question is do any of you know know how to get a RSS widget on a category page? For example, we have a health and fitness category, when a reader goes to that category page, under our articles we would like a widget to display rss feeds from outside sources. But how exactly do you get the rss widget on each category page, and how to you customize so each category rss widget is drawn from different sources (ex the business rss would draw from different sources than the health and fitness one).
Thank you for any insights.
Hello Sir, i wanted to enquire abt the theme update + visual composer update , i saw the tut abt it…
Does the following way work without disturbing settings,etc of theme ?
1] From ftp, overwrite the theme “newspaper” folder with latest theme
2] then disable the visual composer n remove it & instal new one as said in its tutorial [https://forum.tagdiv.com/update-the-visual-composer-plugin-wpbakery/]
Awaiting reply
Best regards
Hi
I installed ‘Newspaper demos’ and changed the one article in Japanese.
Before changing it in front page like below (default demo).
“The model is talking about booking her latest gig, modeling WordPress underwear in the brand latest Perfectly Fit campaign, which was shot by Lachian…”
But now it shows whole article which does not cut off article after changing article in Japanese.
This problem is Japanese character?Can I show the post to be cut like this?
“あああああああああああああああああああああああああああああああああ…”
Thanks in advance,
Hi Catalin,
I appreciate your continued help.
I had to restore a recent backup. Maybe you could have a look at our current layout and contrast it with that in the picture.
I do have Visual Composer installed; it’s just not the latest version. The funny thing was that the settings seemed to be correct (=the same as before theme update), yet for some reason there were additional, unwanted categories like “Latest articles”, “The most popular posts” and “Popular category” (all in Finnish, of course) at the bottom of the front page. They were not there before the update.
I also noticed that my translations were missing.
TagDiv’s instruction video says “Delete the old version of the theme.” At that stage I deleted the “Newspaper 4 child theme”, which was active. Afterwards I have wondered if I should have deleted the Newspaper 4 main theme, not the child theme. Which should one delete?
Note that I have made customizations to a number of php files – for example, td_block_8.php – and added customizations in the CSS Editor. Does this cause problems when updating?
Best,
Vesa
Hi
The theme have support for custom post types and custom taxonomies, for more details about this please check our documentation: https://forum.tagdiv.com/custom-post-type-support/
We don’t have a template hierarchy documentation but the theme it’s coded according with WordPress standards and the hierarchy is the same. More details about this can be found here: https://developer.wordpress.org/themes/basics/template-hierarchy/ Because the theme it’s very complex the file structure it’s a bit different then in a default wp theme. For example the theme have more loop/single files because have more posts templates. Best way to check each file role is to create a test install on your computer, then start editing and see how the your changes affect the front end.
Thanks!
Hello svharishtech,
Our theme uses a lot of predefined thumbnails in blocks and modules. If you check the Theme panel->Block settings area you can see the list with all dimension of the thumbs wich is used in the theme and which elements -> blocks/modules uses -> http://screencast.com/t/tQuimSer9 If you want to exclude the cropping system wich you have to use the right dimension for your images.
Our theme uses the system of cropping from center to top. The theme uses thumbs to reduce the page size and speed up page loading time. From each image uploaded are generated thumbs for each thumb size used by the theme. Basically, when a post it’s displayed on the page in a block, the featured image displayed is not the one which you uploaded in the media file, it’s a thumb cropped from the original image at the precise dimension. To change the picture orientation most likely you will need a different cropping system. We use a WordPress function – add_image_size() – you can read about it here – https://codex.wordpress.org/Function_Reference/add_image_size – and here – http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
Our theme crop (cut) thumbnails in some cases to avoid creating a lot of thumbnails in order to reduce to load more spaces on the server.
Hope this helps!
Thank you for the message!
I even copied the code exactly from the example link you sent and then pasted it in the text editor and it didnt work. Ill give it a go later today and disable the other youtube plugins and see. Will update you.
Hi,
I made new categories for all our content and I want to display it the way it was in the demo settings in the Mega Menu and in the block below that.
How do I get these categorie filter options?
– for example in image of mega menu: All, newlook 2015, Streetfashion, Stylehunter, Vogue
– for example in image of Content Block: All, Stylehunter, Vogue, Health & Fitness, travel, Gadgets, More..
Please advise!
Thanks
Hello,
Please provide more details to what you want transparent. The background image or the page/post content?
You can use css to do it.
For example if i want the background to be visible through the main content I would use css like so:
.post, .td-main-content-wrap{
background-color: rgba(255, 255, 255, 0.5)!important;
}
I hope this helps.
Thanks.
Hi,
we tried with absolute path too.
But as you can see on source, for example, on that page http://www.aerospatium.info/un-marche-en-plein-essor-mais-plein-dincertitudes/ the generated code still appears
<!-- Header style compiled by theme -->
<style>
@font-face {
font-family: "neosanspro";
src: local("neosanspro"), url("css/fonts/NeoSansPro.ttf") format("woff");
}
@font-face {
font-family: "neosanspro";
src: local("neosanspro"), url("css/fonts/NeoSansPro.ttf") format("woff");
}
@font-face {
font-family: "neosanspro";
src: local("neosanspro"), url("css/fonts/NeoSansPro.ttf") format("woff");
}
@font-face {
font-family: "neosanspro";
src: local("neosanspro"), url("css/fonts/NeoSansPro.ttf") format("woff");
}
whereas fonts are declared into child theme css as:
@font-face {
font-family: 'neosanspro';
src: url('/wp-content/themes/Newspaper-child/css/fonts/NeoSansPro.ttf');
font-weight: normal;
font-style: normal;
}
It’s like there are cache issue.
Thanks for your help
Hello,
If you want to to use the travel demo, you can install the demo content for it and go from there http://screencast.com/t/z7YnlI5Vmm1R. If you simply want to replicate the homepage for the travel demo, you can follow my tutorial here: https://forum.tagdiv.com/topic/adding-top-area-like-travel-example/
Thank you!
Salut Nick,
We usually write in English so other users can benefit from the solutions provided here on the forum. Please follow this tutorial on how to replicate the travel demo: https://forum.tagdiv.com/topic/adding-top-area-like-travel-example/
Salutari si o zi buna!
Hi
How can I define the posts that will appears in the big grid ?
Same thing with featured post in home’s sections, where posts can be defined ?
Thanks
Laure
Hi,
I can’t find the way to edit the home page blocks menu:
DON’T MISS
All Style hunter VogueHealth & Fitness Travel Gadgets
thanks
Laure
Thank you for your reply!
Although there might be a misunderstanding. The problem we are facing has not only to do with the sharing buttons. The thing is, when we also tried to copy and paste article’s link (e.g: http://www.artharbour.gr/eikastika/armeniki-vizita/ ) and share it on our facebook page (or one’s profile page) the problem remains.
For some other articles the sharing is made correctly. For example our new editorial (http://www.artharbour.gr/editorial/fevrouarios-2016/) is shared properly just by coping – pasting the main url/ or via the sharing button.
Thank you in advance
Elise