Search Results for 'page template'

Results from the Forum
Catalin
tagDiv Staff

Hello Junior,

Please notice that our theme has three templates for pages as you can see here -> http://screencast.com/t/OsEZnu3ab If you want to change the structure of these, please notice that you will have to alter the code from these templates because the theme does not have other source code from homepage but only these, depending on which template you are using for your project, from here -> http://screencast.com/t/a5Il8d21a

Hope this helps!

Thanks for your understanding!

fanasp
Participant
#0

Hi,

We’ve set up a child theme, but the layout of the pages breaks. When reverting back to the parent theme, everything is back to normal.

The child theme’s functions enqueueing:
function my_theme_enqueue_styles() {

$parent_style = 'parent-style';
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style )
);
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );

Style.css
*
Theme Name: Newspaper Child theme
Description: Fana Sparebank intranett tema
Author: Fana Sparebank
Author URI: Author
Template: Newspaper
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
*/

Is there something missing in our child theme setup? The folder name of the child theme is “Nespaper-child” with no spaces.

Best regards

tcmc1313
Participant
#0

Hello,

I have a list of categories with a list of meta properties that are specific per category.

Categories:
Peek Comedy
Peek History
Worthy Food

Meta Properties:
<meta property=”article:section” content=”comedy”/>
<meta property=”article:section” content=”history”/>
<meta property=”article:section” content=”food”/>

I am trying to get the correct meta properties on the pages according to the correct category. I am not the best at coding but I think I would use something like in_category or has_term to achieve this.

I also believe I need to put it on the single_template_x.php files. But I am having trouble with the exact code to achieve the right result. I also have some pages that have multiple categories and not sure how to handle this. Maybe just use the first/primary category and just show the meta property for that one.

Any help would be much appreciated! Thanks

webowner001
tagDiv Member

Hi There,

Thank you for the CUstom CSS code, I have removed the Categories – BUT, please tell me:

How do I remove the Popular Posts?

Where exactly is the Footer-Template 2 page? And/Or what Code do I need to enter to remove Popular Posts. My idea, is to add a module where by I can select the posts and in what date I want to display there.

Please advise the correct code to find and remove through perhaps “footer.php”? Or, where else is Template 2 – Footer?

Thank you so much.

pacoesni
tagDiv Member

Hi Guys, I’m having the same request about the same problem. Can’t customize Sidebars on Buddypress pages. So, guys from tagDiv please, please, make this setting available in next updats for Newspaper 7. The only solution is use the Default Sidebar as Buddypress sidebar, and create custom sidebar for the rest of templates.

Cheers

Catalin
tagDiv Staff

Hello hadnow,

Please notice that our theme has three pages template as you can see here -> http://screencast.com/t/D0KygIpp As you can see, this is the default behaviour for our theme to add firstly the content and then the latest articles. So, if you want to change the structure of this page template, please notice that you will have to change the code from the core file to this template, like this -> http://screencast.com/t/hvO9rd6Hao67 Please notice that is not a simple task and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!

Thanks for your understanding!

mutebobby
tagDiv Member

Hi thanks for the reply,

We ended up switching our default template out as we noted above that 2 article templaes (those without large feature images) work fine. Check this link, using the video feature template for an example of one still not working:

http://www.roadtovr.com/altspacevr-social-week-sept-14-21-promises-week-new-feature-reveals/

I traced through the JS and ‘click’ events last night and it seems that a check in td_site.js prevents the link action due to the CSS tag on the page in question:

if(jQuery(target).hasClass('td-content-wrap')) {

IF this is removed temporarily, those clicks work but of course then allow clicks to function anywhere on the page which is not what we want.

I hope that helps.

Catalin
tagDiv Staff

Hello ntvweb,

You can use a bit of CSS code to do it. Please try the code below and place it in Theme panel->Custom CSS area.

.td-page-title {
display:none;
}

Another possibility for your would be to change the page template to default one or pagebuilder+latest articels+pagination from here -> http://screencast.com/t/Tc2ZjQSVUf59

Thanks for your understanding!

mutebobby
tagDiv Member

Seems this is limited to all templates with the large feature image. On those pages, although the td_site.js loads, the event listener seems dead and clicking the ‘background’ portions of the screen don’t fire what looks to be the BG ad onclick handler:

//click only on BACKGROUND, for devices that don’t have touch (ex: phone, tablets)
if(!td_detect.is_touch_device && td_ad_background_click_link != ”) {

Hope that helps add more detail to our issue.

Catalin
tagDiv Staff

Hello thud,

Please notice that the sidebar for your homepage could be set only from Visual Composer, using the 2/3+1/3 layout and using the Widgetised Sidebar, like this -> http://screencast.com/t/ejOgvIP7x When you are using the page template ->page builder+latest articles+pagination, the sidebar will be affected from here -> http://screencast.com/t/4uscdeGE
For more information about u=our sidebars, please consult here -> https://forum.tagdiv.com/sidebars-tutorial/
If is not what you mean, please provide more details about what you want to achieve so I will be able to provide a more accurate response.

Hope this helps!

Thanks for your understanding!

thud
Participant
#0

Hi – I am using the carblog skin.

The demo has a sidebar on individual post pages but not on the homepage. I can’t work out how to replicate this on my version. In Newspaper/Theme Panel/Template Settings/Blog and Posts Template I have chosen no sidebar. The text says this will effect the home page and individual posts. I can’t find a way to over ride this in Newspaper/Theme Panel/Template Settings/Post Settings.

Template selected for home page: M19
Template selected for posts: default

What am I missing?

sourabh grover
Participant
#0

Hi Everyone,
I want to add side bars in post page, but i am not able to get. The setting is default from panel.The right base is empty, i want facebook widget and all.

http://www.confusecode.com/uncategorized/my-work-only-allows-internet-explorer-so-i-have-to-manually/

You can check here.

Bogdan B.
tagDiv Staff

Hi,

I’m not quite sure how you want it exactly. As I understand it you want to place 3 block 7 elements inline (on a 3 column layout I assume) on all posts. For this you have to use a do_shortcode function and place the visual composer shortcodes in side it. The place the code in each post template you want to use the blocks on. If this is what you are looking for: http://screencast.com/t/EYW900UWqW then you can create the layout you want inside a page and then access classic mode and text mode and copy the shortcodes. Thne use them inside the do_shoprtcode function like so:

and place the code above the breadcrumb on each single-template.php file: http://screencast.com/t/zi1HZRMS

I hope this helps.

globalweb
Participant
#0

By activating template model page deleted all my custom built pages.

Bogdan B.
tagDiv Staff
colecoboy84
tagDiv Member

Never mind – I switched to Default template, then back to the Pagebuilder + pagination template, and somehow the sidebar came back …

Catalin
tagDiv Staff

Hello ahmedyakub,

Unfortunately, our theme has not been designed to use the Visual Composer to edit the category pages, sorry! Please notice that is not a simple task and require to make some adjustments through code in order to achieve as you wish and all of these processes requires custom work. So, if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
As a hint, you can use the Visual Composer shortcodes to edit your category only if you are using the do_shortcode method in the category templates from the theme code, according to what type of category is used for your category page -> category template 1, 2,3,..etc -> http://screencast.com/t/mUE3Ch1p The shortcode you can prepare with the Visual Composer, using the classic mode, like this -> http://screencast.com/t/GEm1IJXHzN5 For more information about this method, please refer to this documentation here -> https://developer.wordpress.org/reference/functions/do_shortcode/
Please notice that all of these are addressed only for ADVANCED USERS Please notice that all of these are addressed only for ADVANCED USERS which have a solid knowledge in this regard.

Thanks for your understanding!

g.kreck
Participant
#0

Hey there,

i really like the look of the embedded youtube player with playlist on the right, shown on your black newspaper template demo (http://demo.tagdiv.com/newspaper_black/). could you please tell me how to create it?

unfortunately the playlist will not be display if i try it on my self.

for better understanding, see image here: https://www.dropbox.com/s/n9fgeq82ededtlk/playlist.jpg?dl=0

thanks in advance & regards!
gk

support.sd
Participant
#0

Hi,

We are migrating our content sites to WordPress + Newspaper theme.

We have noticed that if we use the default WordPress setting “no category” for articles that have no category in the newspaper site, the newspaper theme gives a php error. (article post type, no category)
Also when we activate plugins that create detail pages (and use the newspaper detail page template) without having a proper category set, this gives the same error. (custom post type, no category, example: http://www.flaironline.nl/horoscopen/ram/)

The error:

Warning: Invalid argument supplied for foreach() in /data/home/deploy_monkey/femmes_be/development_current/wp-content/themes/sm-wp-theme-newspaper/includes/wp_booster/td_global.php on line 329 Call Stack: 0.0007 247056 1. {main}() /data/home/deploy_monkey/femmes_be/development_current/index.php:0 0.0015 247536 2. require('/data/home/deploy_monkey/femmes_be/development_current/wp/wp-blog-header.php') /data/home/deploy_monkey/femmes_be/development_current/index.php:17 0.9936 28089864 3. require_once('/data/home/deploy_monkey/femmes_be/development_current/wp/wp-includes/template-loader.php') /data/home/deploy_monkey/femmes_be/development_current/wp/wp-blog-header.php:19 1.0048 28184168 4. include('/data/home/deploy_monkey/femmes_be/development_current/wp-content/themes/sm-wp-theme-newspaper/single.php') /data/home/deploy_monkey/femmes_be/development_current/wp/wp-includes/template-loader.php:75 1.0048 28184328 5. locate_template() /data/home/deploy_monkey/femmes_be/development_current/wp-content/themes/sm-wp-theme-newspaper/single.php:3 1.0052 28184696 6. load_template() /data/home/deploy_monkey/femmes_be/development_current/wp/wp-includes/template.php:531 1.0055 28198392 7. require_once('/data/home/deploy_monkey/femmes_be/development_current/wp-content/themes/sm-wp-theme-newspaper/includes/wp_booster/td_single_template_vars.php') /data/home/deploy_monkey/femmes_be/development_current/wp/wp-includes/template.php:572 1.0055 28199336 8. td_global::load_single_post() /data/home/deploy_monkey/femmes_be/development_current/wp-content/themes/sm-wp-theme-newspaper/includes/wp_booster/td_single_template_vars.php:14

We believe the problem needs to be fixed in the “newspaper theme core”.
In /wp-content/themes/sm-wp-theme-newspaper/includes/wp_booster/td_global.php
An “if” needs to be placed round a foreach of the category array.

if(isset($categories)) {
foreach($categories as $category) {
if ($category->name != TD_FEATURED_CAT) { //ignore the featured category name
self::$primary_category = $category->cat_ID;
break;
}
}
}

It would be nice if this could be fixed.

Bogdan B.
tagDiv Staff

Hi,
The default page template will not show sidebars unless you create it in visual composer with either a widgetised sidebar element or creating it directly using a 2/3 + 1/3 layout. If you want to use a standard sidebar you have to change to the pagebuilder + page title template from here: http://screencast.com/t/uLWnWqha

Thank you!

Catalin
tagDiv Staff

Hello sunnysunnet,

1)Please keep in mind that you are using the Mobile theme plugin, you will not bring these features on mobile mode because the theme has not been designed to render the Visual Composer elements in mobile theme, but only in Mobile Responsiveness mode. Please notice that the mobile theme has been built to be very fast and easy to be used. If you want to develop this plugin, through adding some additional settings and features, please notice that you will require custom work and we cannot provide these services at the moment, sorry! If you are not aware of these, please consider hiring a freelancer/developer to help you in this regard.
2)Please notice that the mobile theme cannot be changed without custom work. For more information about this feature, please consult our documentation here -> https://forum.tagdiv.com/the-mobile-theme/
3)I suppose that you want to change the background color for your Social Counter header, right? Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->

.block-title > span {
background-color: black;
.block-title {
border-bottom: 2px solid #222222;

The result -> http://screencast.com/t/B7Vpy6dCS

If you want to have the exact layout with our demo for Newspaper, please notice that you can add the template when you create your homepage, like this -> http://screencast.com/t/4L4B5uHVDa -> http://screencast.com/t/HnezjEOty

Thanks for your understanding!

Catalin
tagDiv Staff

Hello thehouse,

If you want to add your desired ad in the bottom of the post page, you will have to use the do_shortcode method and place this code where you want in order to achieve as you wish. For example, if you are using the Post template 1, you will have to alter the code from the loop-single-1.php and add the following code, like this -> http://screencast.com/t/k1iCWvBv and the result -> http://screencast.com/t/H0SLqUcQfzvY

The code is ->

Also, in order to achieve best results, please ensure that you have added your ad code in the Custom Ad 1 from theme panel, like this -> http://screencast.com/t/JkgfPR2YxP

Thanks for your understanding!

wira
Participant
Edit Text - topic
#0

how to remove this
“On each category you can set a Category template style, a Top post style (grids) and a module type for article listing. Also each top post style (grids) have 5 different look style. You can mix them to create a beautiful and unique category page.”

bitottantotto
tagDiv Member

1) solved thanks to the plugin “Powerful Posts Per Page
2) solved thanks to the plugin “Posts Order”
3) I don’t know why before it was limited to 6 sub-cat, now it works perfectly
———–
4) it’s possible to put the name of the sub-category instead the name of the category on the label of the preview of the article in the mega-menu and in the category page?
something does not work well beacause sometimes on the labels of the articles there are categories and other times sub-categories

5) also if I set a certain template and article display view to the category page when I connect to the page from mobile there are other settings and a view that I can’t modify
this view from mobile includes the top posts style that I’ve disabled in theme panel

Spotter2004
tagDiv Member

Indeed, it’s somewhat confusing

You can

1) adjust it @ Newspaper -> Theme Panel -> Social Networks (works only at the top of the site and you have to enter the whole url)

2) If you add the “Social Counter” into your page template, and you click on the pencil, then you will have a popup, and there can you also adjust these items (works only within your site°

Don’t now why they make it so difficult, because you use for those 2 ways the same info

Viewing 25 results - 16,026 through 16,050 (of 18,570 total)