Search Results for 'page template'

Results from the Forum
Bryson T
tagDiv Member

Here’s the code from paste bin:

add_filter('wpseo_title', 'td_wpseo_title', 10, 1);
function td_wpseo_title($seo_title) {

	// outside the loop, it's reliable to check the page template
	if (!in_the_loop() && is_page_template('page-pagebuilder-latest.php')) {

		$td_page = (get_query_var('page')) ? get_query_var('page') : 1; //rewrite the global var
		$td_paged = (get_query_var('paged')) ? get_query_var('paged') : 1; //rewrite the global var

		if ($td_paged > $td_page) {
			$local_paged = $td_paged;
		} else {
			$local_paged = $td_page;
		}

		// the custom title is when the pagination is greater than 1
		if ($local_paged > 1) {
			$post_id = get_queried_object_id();
			return td_wp_title(get_the_title($post_id), ' - ');
		}
	}

	// otherwise, the param $seo_title is returned as it is
	return $seo_title;
}
ShowbizCool
tagDiv Member

Thanks – I take that it is unlikely.

We add videos anyway but can’t take advantage of the Post template style setting when clicking ‘video’ format (to get the display on there home page). Feels somewhat untidy.

Can you suggest how I might modify the themes code?

Ing Geek
Participant
#0

TagDiv Team, i love Newspaper template but since last update i f**#%&$%* newspaper theme 🙂

Title structure its broken in entire site, and something like that can damage very seriusly in Google search results. Obviusly i go back to 6.1 when i notice this problem.

Inmediatly before update to 6.2 my sitemap was sended to google (because i use yoast seo like every wordpress user) the problem is, in my site i work only whit organic traffic and now i have over 7900 internal pages whit wrong title INDEXED in GOOGLE!!!!

I Mean, each user of newspaper 6.2 just f**k your own site ahead of google 😛 and i am very worried about how it will affect my website ranking in the coming days for changing the structure.

I suggest to remove 6.2 update as soon as possible to prevent breaking the customers sites. Many Newspaper users make money with google adsense but a SEO mistake like this will make us earn less money 🙁 and it is not something easy to fix

Bryson T
tagDiv Member

Use the proper Page Template for your homepage (Default).

istanbulsfinest
Participant
#0

Hi,
I’ve just purchased Newspaper theme but I can’t build my homepage.
In the theme documentation it says, create a New Page and select a Page attribute like “Home -bg – with article list” or “Homepage – bg – no article list” and so on.

But I only have 3 options in the page template drop down menu “Pagebuilder + latest articles + pagination” and “Pagebuilder + page title” and “Default”
I have to Homepage option in the “Page attributes” section, Template menu.

So, when I build a Homepage the changes doesn’t appear on the homepage, please help.

I send you jpeg files you can see this problem

Here is what I see in my WordPress dashboard when I create a new Page:

http://oi57.tinypic.com/s5xwer.jpg

Here is what they say in the Newspaper Theme Documentation

http://oi60.tinypic.com/ih34ut.jpg

Alin [tagDiv]
tagDiv Staff

Hi,

The above css is for menu search button, please try this custom for you search template button – http://screencast.com/t/uXCePWPPMs

.search-page-search-wrap input[type=submit]{
background-color:#006bb3;
}

Thanks!

SkyFist
Participant
#0

Hi.
I’m using Newspaper 6.1.
I’ve installed the theme on my website and want to use the Homepage – Newspaper look.
I’ve gone to Homepage and added the Homepage -Newspaper template.
However when I look at my homepage it is not displaying correctly. The Big Grid Slide is not there nor are all the elements of the theme such as the blocks. It just displays a list of posts and the default sidebar boxes.

However when I install the demo and select the Homepage – Newspaper template, it looks perfect. I have tried to emulate all the settings but it doesn’t work. I’m wondering If I have not applied the theme properly to the Homepage but it looks okay to me.When I try and install the demo without the content it doesn’t work. And there seems to be no signs that there is anything different.

Why is the template not being applied properly to my homepage?
If I install the demo with the sample content, how do I make the Newspaper theme the default for my homepage and remove the other pages so it is safe to use?

Thank you

Alin [tagDiv]
tagDiv Staff

Hi,

The breadcrumbs and title for category page is not in category.php file because theme has a custom template for these pages, please check here – http://screencast.com/t/vvVqXMAxBip
Please provide more details if this is not what you mean.

Hope this helps!

AzharNadeem
Participant
#0

I want to comply to the following conditions by NewsNow and want to insert the required tags in the template. Is it possible? If yes then How?

Insert HTML comment tags in your article webpage templates as follows:
<!-- Article Start --> should follow the headline but immediately precede the first paragraph of the article
<!-- Article End --> should immediately follow the last paragraph of the article.
If your articles contain a byline or specify an author then <!-- Author Start --> should immediately precede the author's name and <!-- Author End --> should immediately follow it.

Kind Regards
Azhar Nadeem

Alin [tagDiv]
tagDiv Staff

Hi,

Do you want to set your page as static frontpage? You can set it from Settings > Reading – http://screencast.com/t/28qIDRJkJW4q
Using default template or pagebuilder with latest articles will not add you sidebar automatically at your content, you need to use like I suggested above Widgetised Sidebar block or just add blocks there – http://screencast.com/t/DgBXgLLy
Please let me know how it goes, also provide some screenshots and your site URL if this doesn’t help.

Thanks!

arayaz
tagDiv Member

Not sure which settings screen you want. But my problem is not in the section shown on your screen grabs.
It’s on the WordPress Edit Category page you access from my website category page. This is the link structure to the page.
http://my domain/wp-admin/edit-tags.php?action=edit&taxonomy=category&tag_ID=6&post_type=post

It’s missing the template settings part.
Thank you

Andrei L.
tagDiv Member

Hi

I am not sure what you mean but if you want add a new element to appear you need to modify the file which correspond to the post template you’re using. For example if you’re using post template style 2 the file is: loop-single-2.php like here: http://screencast.com/t/KizmqVAgz

If you want to use do_sortcode function please check this post as reference https://forum.tagdiv.com/topic/add-ads-code-just-below-the-share-buttons/ You can use any other shortcode instead of custom ad shortcode, just take your shortcode from a page http://screencast.com/t/h8Dg06bSE5H

Please provide more details if this is not what you mead!

Thanks.

  • This reply was modified 11 years by Andrei L..
AzharNadeem
tagDiv Member

Hi Lucian
I am aware of the procedure to get the script and CSS id’s. However, this particular script is not appearing in the list. Although, a stylesheet related with this plugin (wpproads_standard_admin) is appearing in the list.I am providing a list of ID’s below for review and help.

ommon.min.js
wp-color-picker | /wp-admin/js/color-picker.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
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
devicepx | http://s0.wp.com/wp-content/js/devicepx-jetpack.js
wpseo-admin-global-script | http://www.sportscourant.com/wp-content/plugins/wordpress-seo-premium/js/wp-seo-admin-global.min.js
td_wp_admin | http://www.sportscourant.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin.js
td_wp_admin_color_picker | http://www.sportscourant.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin_color_picker.js
td_wp_admin_panel | http://www.sportscourant.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin_panel.js
td_edit_page | http://www.sportscourant.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_edit_page.js
td_wp_admin_demos | http://www.sportscourant.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_wp_admin_demos.js
td_page_options | http://www.sportscourant.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/td_page_options.js
td_tooltip | http://www.sportscourant.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/js/tooltip.js
thickbox | /wp-includes/js/thickbox/thickbox.js
registered styles
wpproads_standard_admin | http://www.sportscourant.com/wp-content/plugins/wp_pro_ad_system/templates/css/admin_standard.css
wp-color-picker | /wp-admin/css/color-picker.min.css
admin-bar | /wp-includes/css/admin-bar.min.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.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://www.sportscourant.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/wp-admin.css
thickbox | /wp-includes/js/thickbox/thickbox.css
jetpack-icons | http://www.sportscourant.com/wp-content/plugins/jetpack/css/jetpack-icons.min.css

Lucian
tagDiv Staff

Hi,

1. Unfortunately at the moment we don’t have an official documentation regarding theme’s regular child system and right now just files that are located in theme’s root can be overwritten using the child theme, this means posts template files(in this case just the default post template the single.php file as for the other ones we have some issues which we’re trying to fix as soon as possible), page templates, category/archive/author.. templates as well as the header and footer templates.

For modules and headers/block/modules and so on.. we’ve added the API based system about which you can find more detailed info here: https://forum.tagdiv.com/the-child-theme-method/

We also have this in our attention and plan to improve the child theme overwriting system in the near future. We hope to offer the possibility of overwriting most of theme’s files using the child theme and for that we have to find the best solution for it and the right implementation.

2. You can remove the default google fonts from the config file here: http://screencast.com/t/wmxKL4rF which can’t be edited using the child theme. Sorry!

Thanks for the message!

Alin [tagDiv]
tagDiv Staff

Hi,

If you have created a custom sidebar please add widgets to it from Widgets section – http://screencast.com/t/TuqUH4vTQE and you can display it on your page content using Widgetised Sidebar block – http://screencast.com/t/78EvZsYieS or if you use page template with article list and you want to display a custom sidebar also there – http://screencast.com/t/KnL4kcFqe96

Hope this helps!

Alin [tagDiv]
tagDiv Staff

Hi,

Please check all templates from Theme Panel > Template Settings and change the modules, as the search module from previous version doesn’t exist in Newspaper 6 – http://screencast.com/t/gbcO4Imsy5vk For example if your homepage is a blog please change the module for that template. Also you can take a look at categories as there are many features available there – http://screencast.com/t/N1YuYDGcuJUM Also please clear cache and let me know how it goes!

Thanks!

Pramodc
Participant
#0

Hi!
I want to set a different sidebar for the homepage. After following this tutorial https://forum.tagdiv.com/topic/different-sidebars-on-homepage-and-inner-pages/, i created a new sidebar but i don’t know how to use it on the homepage. I’ve created a template using the visual composer tool. But i don’t know how to activate it. Please help or share the steps for the same

arcduck
Participant
#0

After updating Newspaper to the latest version, I’m receiving the following error on my website homepage.
Can you recommend a way to fix this?

Fatal error: Call to undefined function vc_column_offset_class_merge() in /public_html/d-fraud.com/wp-content/themes/Newspaper/vc_templates/vc_column.php on line 22

Alin [tagDiv]
tagDiv Staff

Hi,

Please read this guide how to upgrade to the version 6 – https://forum.tagdiv.com/how-to-update-the-theme-2/ make full backup and after the update please also update the plugins that come with the theme files from /plugins folder and then you can run the script, it will import old settings from database and it will change the shortcodes – http://screencast.com/t/eZxxuqvsTir Also you have to regenerate the thumbs – https://forum.tagdiv.com/using-the-theme-with-existing-content/ The content of your pages will not be affected as running the scrip it will update the shortcodes, but you need to change the template – in version 6 there are 3 page templates – http://screencast.com/t/ROt8QyaaZDnA Unfortunately you will have to re-add widgets on your sidebars, some of them may not be imported or don’t exist anymore.

Hope this helps!

Alin [tagDiv]
tagDiv Staff

Hi,

You don’t have to create a page for each author, if this is what you mean, an author page is created for any author with posts – http://tipsthatrock.com/author/samantha/ and you can find author template in Theme Panel to set a module to display articles, sidebar position or custom sidebar – http://screencast.com/t/lulm1WYz
If you want to create a page with all authors you can use Author Box block – http://screencast.com/t/rQWEidzjhttp://screencast.com/t/2pSResqQjm4n

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Not sure why you get this issue as I have checked you page content and did not found any issues – http://screencast.com/t/KidRmX4ZvmdV please check this without any plugins except of Visual Composer, clear cache and see if you still have this issue. What page template do you use? – http://screencast.com/t/HpdiiLgk4H Also you can try to filter by all categories and see if it work(I see that you filer by specific category). Provide a link to this page.

Thanks!

Marius
tagDiv Staff

Hi,
Upload this file in Theme folder and create a page with this template: http://cdn.tagdiv.com/wp-content/uploads/2015/06/page-blank.zip

http://screencast.com/t/wCKyvX9j0vsB

Bryson T
Participant
#0

Having issues. Not my first rodeo with Newspaper. I did not upgrade from v4 of Newspaper to v6.1 – fresh database.

Uploaded Newspaper, Newspaper Child, activated Newspaper Child then VC and TD Social Counter – in that order. I’m getting the VC Menu link for its settings in the admin menu and when creating a page the builder does not show any Newspaper blocks at all. VC is showing me the demo homepage templates loaded into it by Newspaper, but when I use them, the blocks are not editable, only sortable.

Front-end of the site is loading fine. Even uses the blocks from the theme when I use a template to get it rolling, but I can’t edit the settings for it, obviously. Even tried installing and activating the API plugin to see if it would help, but no go.

This is for my main site. I’ve been testing for a few days on my development site, which is located at a subdomain of my main site, and everything has been working BEAUTIFULLY there with Newspaper 6. Really impressed with the improvements. Can’t figure out what’s making VC dumb at the moment.

What’s the malfunction?

TechRanker
Participant
#0

I see on this demo page that the text is indented:
http://demo.tagdiv.com/newspaper/td-post-five-things-you-may-have-missed-over-the-weekend-from-the-world-of-business/

How do I get the indent to work on post template style 10?
http://moorethoughts.com/samsung-galaxy-s-pros-and-cons-video/

Ideally, I want the images to be full width with the text indented.

simchris
tagDiv Member

As in the theme demo, an author page is created for any author with posts; so once you have posts for that author, there will be an author page/index for that author with list of posts and the bio info from their user account setup. Simple! 🙂

You can, of course, create a custom author page template as with all wordpress themes, but the basic author page works out of the box, as it were.

Viewing 25 results - 17,301 through 17,325 (of 18,570 total)