- NewspapertagDiv AMP Plugin Tutorial
- NewspaperTrack Subscription Sources with Locker URL in Opt-In Builder
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperCredit System
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to use the Posts List shortcode
- NewspaperUser review system
- NewspaperCustom Fields Support
- NewspaperHow to generate Facebook App ID
- NewspaperHow to insert a block inside the content of a post
- NewspaperModal Popup
- NewspaperPayPal Setup
- NewspaperLink Tracker
- NewspaperLockers
- NewspaperGeneral Options that May Interfere with the Newspaper Theme
- NewspaperAdd Cryptocurrency Price Ticker Widget
- NewspaperPosts Loop Element
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperAutoptimize Plugin – install and configuration
Hi,
Nice! I understood. But, how do I proceed if I want insert image using custom AdBox? For example: Custom Adbox 1. But, I dont have a specific code, so I copied a similar code in the system and I changed adress link of the image. But I really can’t find where I can insert external link.
Hi,
My website is http://www.myrecipes.ie
Is there a submission form for my users to submit recipes for approval?
I haven’t found any so I searched for 3rd party plugin and installed “User Submitted Posts” but the problem is that I cannot create a form so that after submission post looks like original one from the website, for example this one: http://www.myrecipes.ie/2017/04/10/greek-pasta-salad/
We (naturally) have several categories for posts: “Domestic news”, “World news”, “Science news”, etc.
Now, if I delete, for example, the category “Science news”, and some posts were in that category and in no other category, are the posts deleted as well, together with that category?
I hope I managed to be clearer now. If not, please let me know.
Thanks for replay
I am using Newspaper-child theme
Question 1. Can I copy includes/td_config.php file from Newspaper theme to Newspaper-child theme?
Question 2. I created custom taxonomy by register_taxonomy function. Suppose my taxonomy name is “testing” now I want to add “testing” taxonomy in Block filter setting as same as Category filter:
Please send me example code for “testing”?
Question 3. I want to display all posts as per this setting. Please guide me how many files I need to update for that?
-
This reply was modified 9 years by
msimktg.
Hi,
That depends on where do you want to insert that image. For example if it is inside a post you can set a custom link for each of the images inside the post
– https://www.screencast.com/t/Anztu6sGIeDR
– https://www.screencast.com/t/HTRHIgPVbyJJ
For pages, if you are using the Visual composer editor you can use the Single image element
– https://www.screencast.com/t/RpJxVFURCe and link the image to a custom URL
Or you could use a Image box containing multiple images
– https://www.screencast.com/t/Cz69MOJeeq also with custom URL’s
Thanks
Hi,
The post pagination appears right after the post content, or after the article bottom post if one is used
– https://www.screencast.com/t/TZ7tJA4LKVQ
If you would like to move the author box inside the post structure you will have to modify the theme files. You must edit the file corresponding to the post template style that you are using for the post
– https://www.screencast.com/t/VTCkYDtvqq
For example if you are using Post template style 2, the file is loop-single-2.php
You must open this file from the theme folder, using a text editor and there you will see the post structure
– https://www.screencast.com/t/VyAjntoNByL2
There you have to move the line of code containing the author box like this
– https://www.screencast.com/t/eSMYglKn if you want it to display after the post pagination
– https://www.screencast.com/t/eSMYglKn
The comment section is always displayed at the bottom of the page after the related articles if this feature is enabled.
Thanks
Hi,
That section is not limited to show only ad codes. You could enter your own image with a custom link for example
– https://www.screencast.com/t/eoBpoLyS9 or just a plain image – https://www.screencast.com/t/iZi8XfXSWnm
Thanks
Is it possible to add apply_filters to internal functions like get_author() and etc.? This way we can do small modifications without copying the template files to child theme.
For example (Newspaper/includes/wp_booster/td_module_single_base.php:L65):
//$show_stars_on_review - not used
function get_author() {
$buffy = '';
if (td_util::get_option('tds_p_show_author_name') != 'hide') {
$buffy .= '<div class="td-post-author-name"><div class="td-author-by">' . __td('By', TD_THEME_NAME) . '</div> ';
$buffy .= '<a>post->post_author) . '">' . get_the_author_meta('display_name', $this->post->post_author) . '</a>' ;
if (td_util::get_option('tds_p_show_author_name') != 'hide' and td_util::get_option('tds_p_show_date') != 'hide') {
$buffy .= '<div class="td-author-line"> - </div> ';
}
$buffy .= '</div>';
}
return apply_filters( 'td_filters_get_author', $buffy );
}
Hey there,
Thank you for the prompt reply. I do have to specify my question as I seem to have not explained it properly. Based on the previous image : https://1drv.ms/i/s!Ai3uwVtbSehutoUmKwibSQ9C6007Fg.
Is there a way where I can specify the post’s title, even with lesser words, to have equal spacing that is consistent across?
For example: Such that when the Post Title for Block A has 3 words (1 line), while Block B has 9 words (3 lines), the spacing can be fixed to be 3 lines for all Post Title. My ideal situation is for the Posts excerpts are to be aligned.
Hi,
You could try a code like this to center the category header on category pages, and reduce the space at the same time – https://www.screencast.com/t/259QBOjs1Tq
Or like this to have the same amount of space top as there is bottom – https://www.screencast.com/t/nJ4FZ5ZO
These is the code used in the first example
.category .td-category-header {
margin-bottom: 22px;
padding-bottom: 0;
}
And in the second example
.category .td-category-header {
padding-top: 36px;
}
Thanks
Hello,
This is done through html. You will have to create an image and add a link to it using html 5. This is relatively easy. Here is an example of a code you can personalize:
<div class="td-all-devices"><a href="add your preferred URL here to link to"><img src="add the full path to your image here" /></a></div>
I hope this helps.
Thank you!
Hi,
If you would like to create and use a custom block, you can follow these tutorials explaining the steps needed to achieve such a task
– https://forum.tagdiv.com/api-blocks-introduction/
– https://forum.tagdiv.com/practical-example-how-to-add-a-new-block-and-module/
Thanks
Hello,
If you do not like the 1100px width, you can change it any time in the code I provided. It was just an example.
You can use the advanced css section where you can add the code in a specific screen size to affect only desktop or only tablets. And change the pixels as needed. https://www.screencast.com/t/xfsaL0DSgP8
Unfortunately there is no way of removing the boxed layout for a specific viewport.
Tank you!
Hi,
1. If you would like to change the category base you can do it in WordPress permalinks settings
– https://www.screencast.com/t/ILOmjL95PC
For the author however there is no setting, but you could try a plugin with this capability. Like the one suggested in this topic for example – http://www.wpbeginner.com/plugins/how-to-change-author-url-slug-and-base-in-wordpress/ and see if it is what you are looking for.
2. You can filter the posts displayed on that block using an author Id or multiple Id’s
– https://www.screencast.com/t/rJJk9f4RW1pw
There you can enter the Id of the author that you want to use, so the posts displayed will be just the ones that have that respective author. You can find the author Id like this for example – https://www.screencast.com/t/e1LcWVeZrN1
Thanks
From my site it is impossible to save pins in pinterest. For example, the picture from this page http://ibcm.biz/?p=3739 is not saved in the pinterest. The message appears “This site doesn’t allow you to save Pins”
What could be the reason?
Hello saldesign,
I have inspected your website and I saw that your sidebars used for pages and post pages are the same. So, if you want to respect the order to them in the post page to look like on the page, you should change the post template and use, for example, the post template style 8 which displays the feature image in the top of the post and the sidebar will fall down it, like this -> https://www.screencast.com/t/dpCUdNMqJ
If is not what you mean, please provide more details so I will be able to provide a more accurate response.
Thanks for your understanding!
Hi,
1. I found occurrences for the newspaper.woff in the theme in these files
– https://www.screencast.com/t/9SeSDv4NVEWR
– https://www.screencast.com/t/ZIsEERxkJ9zX
– https://www.screencast.com/t/eJwhJu4rzj
And this is where you can find the respective file – https://www.screencast.com/t/Uyk2NgZoM
You can try to make your modifications in these files. Please note that this is needed by the theme as most icons are loaded as a font, for example the icons in the theme panel, the icons for social networks etc. You should consider making a backup in case something goes wrong.
2. Please provide a link to your website pointing to the image problems, so we can inspect it and try to give you a solution. The images inside the post content should display as they are limited only by the theme width.
3. Most of the solutions I found are suggesting to use a plugin for this. You could try a plugin with this capability and see if it works for you, and it is suited for your project. I can not make any recommendations in this matter because we have not made any tests regarding this.
Thanks
Any change in this status?
- tagDiv’s planned NewsPaper or NewsMag support of a second sidebar
- Coding scope required to implement one (any open source efforts here?)
Is it possible to simulate a second sidebar in the NewsPaper Theme by having a 2-column layout in the main area? Is there a demo example of this?
Thanks!
Hi,
I went trough the forum but can’t find the solution for this issue. Is there any chance to change the Source and Tags boxes background colours from the black to the one of my choice.
example: http://www.zregionu24.pl/nowe-inwestycje-w-oswiecimiu/
at the bottom of the page, below the social buttons there are black Source and Tags boxes with black background. Is there any chance to change the colour to match the leading colouring of the page?
I have searched theme panel there and back but couldn’t find any easy way to do this (it was very simpe to change the categories colours at the top of the article though).
There is probable a bit of a custom CSS needed which I would very appreciate from you.
thanks up front
Could anyone tell me how to display “Names” instead of “User Names” on posts?
For example in this post (http://www.prefixmag.com/primavera-sound-announces-2017-lineup/78946/) the user name Auteurian is displayed, but I would like it to display the author’s name “Autumn Andel.” Thanks.
When I go over the spinning load animation with the mouse , the path indicated on the left bottom corner is: vc.wpbakery.com/?utm_campaign=Vcplugin&utm_source=vc_user&utm_medium=backend-editor
Hi,
If you would like to customize a block, and have a unique style apply only to that block, simply add a specific class to it like this for example
– https://www.screencast.com/t/yWMBgADBmmUh
– https://www.screencast.com/t/jt6ZPM7U
– https://www.screencast.com/t/DsXbmGYz
Then you can refer to that custom unique class set to each block, and create you custom code based on it
– https://www.screencast.com/t/U5CUiRJpd
And further style the block according to your needs, knowing that these modifications will only apply to the the block that has the said class.
Here you can find more information about using the browser inspector to identify the elements on the page and their classes, in order to create custom code in theme panel
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks
Hello,
You can add those networks to the top header social icons or the footer social icons: https://www.screencast.com/t/sPawNdDl9cJ but if you require post sharing options or those particular social networks you can either add them custom like this example of linkedin or vk:
https://forum.tagdiv.com/topic/add-linkedin-sharing-button/
https://forum.tagdiv.com/topic/how-to-add-a-vk-sharing-button-on-your-posts/
Unfortunately there is no simpler way except installing a share plugin.
Thank you!
Hello,
The large white space is dues to the fact that this header style has a header ad spot that is not used by you. https://www.screencast.com/t/PFYY13Gi
The ad container will still be there even if you do not use a header ad. Please use a header style that shows the full logo for example headers style 9, 10 or 11
As for the line, it is an image and the color cannot be changed. Sorry.
Thank you!
Hi!
I have a weekly listings page that requires the first line of text to be set in bold – you can see an example here.
At the moment I am manually styling the copy, but know that the ::first-line attribute can be applied to CSS to format automatically.
I can’t see how to create a stylesheet (say p2 or H7) to automatically create a ::first-line attribute. Mainly because I am not a coder! Any advice or suggestions welcomed.
Thanks
Phil