Search Results for 'page template'

Results from the Forum
Lucian
tagDiv Staff

Hi,

Where have you altered this. In posts’s page template here: http://screencast.com/t/I7h3S0JIR or in the get_item_scope function, here: http://screencast.com/t/8f6wzwFPIu

Thanks

wpdiv
Participant
#0

Hi lucian

Getting “MainContentofPage” error warning when i test the newspaper theme powered website URL with Google rich snippets testing tool https://developers.google.com/structured-data/testing-tool/

Please test this URL http://www.wpdiv.com/download-mazel-multipurpose-html-template/ with google rich snippets to regenerate the issue. Not only the above post, all the posts returns the same error.

How can i get rid of this issue? In which files i have to make changes?

Note : I am using Style 2 template for my posts.

Expecting your kind help

Alin [tagDiv]
tagDiv Staff

Hi,

I have checked your site and you sidebar appear after you page content – http://screencast.com/t/FcmM7eUPSp
Anyway if you use pagebuilder for pages you should use another page template than default – https://forum.tagdiv.com/page-templates/
Also I see that you use sidebar on left for articles that’s why the sidebar appear first on mobiles, so if you want to appear after the content please change it to the right side.

Thanks!

Bintmusic
Participant
#0

hello I am trying to remove the css and js bbPress from not forum pages

wp-content/plugins/bbpress/templates/default/css/bbpress.css?ver=4.6.3′
/wp-content/plugins/bbpress/templates/default/js/editor.js?ver=2.5.7-5693

I tried to put follow code in the functions.php file of newspaper but eliminates only the js.
any suggestions?

function isa_dequeue_bbp_style() {
if ( class_exists(‘bbPress’) ) {
if ( ! is_bbpress() ) {
wp_dequeue_style(‘bbp-default’);
wp_dequeue_style( ‘bbp_private_replies_style’);
wp_dequeue_script(‘bbpress-editor’);
}
}
}
add_action( ‘wp_enqueue_scripts’, ‘isa_dequeue_bbp_style’, 99 );

thanks!

simchris
tagDiv Member

So you tried adding your site title for home page, to the index.php template already?

  • This reply was modified 11 years by simchris.
simchris
tagDiv Member

No point in having an H1 tag on home page unless it’s a static constant element such as “Micro Gaming News for the Tech Trade” — as Google doesn’t like “changing” H1 tags on static pages like a home page — a news headline should not have H1 tags on home page as those change hourly, daily, etc., and so have no relevance in SERPS.

So, you would need to edit the page template you’re using for home page or “pagetemplate and add an “is_home” statement to put the desired H1 tag only on home page. Simple to do with Visual Composer, or if making a static page with loop.

eg
something like

<?php
if ( is_home() ) {
    // This is the home page index
    <h1>My Text Here</h1>
} else {
    // This is not the home PAGe index
    then get the normal page header
}
?>

just a thought. That likely not best solution, so pardon my butting in ….

  • This reply was modified 11 years by simchris.
securerr
Participant
#0

Hello,

I’m trying to use the homepage template without latest posts + pagination, just a Visual Composer content.

So I’ve created a sidebar with it: http://take.ms/HqLwp

But strangely, it doesn’t work as smart sidebar: it doesn’t stick to the screen.

So why? Does smart sidebar works only if it’s a regular sidebar made of widgets, not with Visual Composer? But I just wanted to create my page from scratch using the blocks I need. And I like the layout of latest post I use: http://take.ms/dggDm

It’s way better than the default layout the template with latest posts and pagination produces.

Please help me here.

Thanks.

Alin [tagDiv]
tagDiv Staff

Hi,

I said that you can add h1 tags there but also you have to really add a title manually(ex. Latest Articles) so you will have h1 on page: http://screencast.com/t/b2DxirBmhttp://screencast.com/t/QVH4eEvFa

Another solution for this is to create a homepage: use “pagebuilder + articles list” and set the module to display articles – http://screencast.com/t/dRRqOEaRN. Change to a static frontpage – http://screencast.com/t/k6RQC90fi and it will look exactly like your current blog page just you will have a title Latest Articles(also you can change this). Now you can edit page template and change to h1 – http://screencast.com/t/3ccSmpnMUfY
Result: http://screencast.com/t/ho9WYWrTYr

Also about breadcrumbs you can disable it from Theme Panel > Template Settings: http://screencast.com/t/WqXvp52Fp
If you refer to this title, please check your code as it isn’t part of the breadcrumbs liek you can see – http://screencast.com/t/ESQS1IYm

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Please use a page template without articles list: http://screencast.com/t/cWVSyzcg6bmT
The sidebar will remain sticky while the td-ss-row extra class is added to the row(you have already added this).

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

You have an option in Theme Panel > Template Settings to change the module to display articles on search page: http://screencast.com/t/kebG2dRPhttp://screencast.com/t/q4vpby4Of

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

When you use Homepage with background template, the Big Slider is added automatically there and the articles which appear on that slider are the ones present in the featured category.
By now the only customization option you have for the big slider when using the homepage with background template are for background color/img and slide limit: http://screencast.com/t/oJtUy4erGoM
If you want to display post from a specific category you have to make some custom modification to the code and add there the category id, please check this solution: https://forum.tagdiv.com/topic/exclude-posts-from-big-slide-homepage-bg-no-article/

Thanks!

newbie
Participant
#0

in the page-author-box.php parts template (and most likely in more templates) you use the follwoing code:

$part_cur_auth_obj->user_url . ‘”>’ . $part_cur_auth_obj->user_url

echo $part_cur_auth_obj->description

From my point of view this is a potential big security issue. You need to encode them with esc_html / esc_attr / esc_url. Yes WP does most likely do some input sanitization. But it is always very important to also encode the output.
And espcially on this page. This is the user profile. Absolutely every user will have access to this page (but my otherwise be very restricted) and can enter information here.

Thanks

ajborges
Participant
#0

Hi!, I’m wondering how is possible to do for having the same font and paragraph format from the post in the excerpt that is shown in the homepage. I have changed the fonts in the costume typography in the template but it doesn´t seems to work. It also doesn´t respect the format of the blog post. It Only brings the the words with default format. I noticed that in the demo version the formats are respected. What am I missing? (see http://www.onephotographersblog.com to understand better)

Regards,
AB.

Emil G
tagDiv Staff

Hi,

I suspect it refers to the h1 tag which is missing from the page, add it using a Visual Composer text block or use the Homepage – with title templatehttp://screencast.com/t/gPl2da2W1Prm – the code in the template it looks like this – http://screencast.com/t/1HFARiUDU4

Thank you, Emil G.

melcu
Participant
#0

Hello,

I kinda need a page with that layout… i search on that template and didn.t find that layout !
I m kinda new on this… and i just want to be sure about that layout.

Multumesc.

Alin [tagDiv]
tagDiv Staff

Hi,

We could not include the official demo in the theme because we wanted to keep the theme as small as possible. We included a smaller demo which comes with the page templates and some posts/widgets which should provide good start.
On our demo’s menu are added only some categories that are set to megamenu and pages with submenu items: http://screencast.com/t/jQxycYphSR You can make your menu that you need by adding your pages and categories like in the screenshot. Also you can import predefined styles(stacks): http://screencast.com/t/JV6ErbioBychttp://screencast.com/t/9zvmGA26

If you also need the xml files of the demo you can make a request for it on email and we will send it to you. Send your request at contact@tagdiv.com and also include a link to this topic.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Above your Latest Articles (and sidebar) you have a row where you display your ad. This space is normal because the sidebar cannot go up if there is a row and this sidebar appears with Latest Articles – http://screencast.com/t/crl0PjlEk
So please edit your page and remove that row and if you want to add that add to the sidebar please use widgets section and add it to your sidebar – http://screencast.com/t/OeQVItsaQAc
Please take a look at our documentation – https://forum.tagdiv.com/page-templates/ when you use a page template with articles list this will be added automatically on your page and you can add blocks and sidebar to your content using Visual Composer for example – http://screencast.com/t/NW7u0tzdz0G or use only blocks for page sidebar – http://screencast.com/t/57yXwPL22r

Hope this helps!

happymedia
Participant
#0

Hi there,
i have the problem that on my homepage when i use pre designed layout (infinite scroll and all others) there is space on the left and on the right at my blog post images.
When i use the default template “Homepage – with article list” there aren’t any wrong spaces.
But when i use “Blank Template” and then choose Template by the composer there is something wrong..
Please help me…
Thanks!

Here is the problem:

Emil G
tagDiv Staff

Hi,

You could use the Slider which comes with the theme but on click it takes you to the article single page. To make it open a custom link you have to modify the code for the module used by the slider and change the source of the title url – http://screencast.com/t/x2DaH2mJycd1 – and the code which adds the images on the slider – http://screencast.com/t/SUGEvdnckuyhttp://screencast.com/t/LAdaQoth1f3q

If you replace $this->href with ‘http://www.google.com&#8217; it will work but it’s not a solution, the get_image() function is used on multiple locations and it will affect the modules and the post templates. You have to modify those functions, if you don’t have programming experience i suggest that you hire a professional developer to doit for you. We would have gladly made it for you but for the moment we cannot offer custom work, sorry for this.

Thank you, Emil G.

Alin [tagDiv]
tagDiv Staff

Hi,

Please try this custom css in Theme Panel > Custom Css – http://screencast.com/t/jAXZVpuwryc

.header-logo-wrap {
float: right;
margin-left: 0px;
margin-right: 30px;
}

You can change to a template without articles like Homepage Blank and add blocks via Visual Composer – http://screencast.com/t/rrHDX6TuIT so it will be displayed only blocks that you add to your page.

Please also consider that unfortunately the version 5 of the theme will not include rtl support. You can still use the theme as it is but unfortunately you cannot updated it as you will lose the rtl support or you can update it and make yourself the necessary adjustments needed. If you can’t use the theme we can offer a full refund, just send an email at contact@tagdiv.com and we will explain the procedure.
Sorry for the inconvenience!

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

It did not work because you’re not using a page template for static front page, you use a latest articles(blog).
You can remove Blog from this file: http://screencast.com/t/Auw8dDEnydj

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Did you activate it from Visual Composer settings also for pages? – http://screencast.com/t/mbX5B6rUjZ2http://screencast.com/t/x9zPDrzWahax
We recommend to be used for pages templates as in posts it may cause some issues so it is better for post content to be used by default.
Yes, we update also Visual Composer plugin after we make some test with our theme(we also use full version with no modifications) and it will be included in new version of the theme, you can find it in /plugins folder.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

You can add a condition to the header ad in header template file that you use: http://screencast.com/t/TAsRoaNNaQ5
Here you can find out more about frontpage function: https://codex.wordpress.org/Function_Reference/is_front_page

<?php
            if (! is_front_page() ) {
                locate_template('parts/header/ads.php', true);
            }?>

Thanks!

bushpost
Participant
#0

Hi,
http://blushpost.com/

I have used this template and for header used style 2: Logo on colored box. This page while loading loads the blue box first and then replaces logo on that one. It is displayed in chrome and firefox works fine.
Want to remove that blue color. Tried all possibilities but no luck.

Also,

We have background image set which displays fine in chrome and does not do so in firefox.

Please let me know where exactly is the issue.

Bintmusic
tagDiv Member

Thanks Lucian, is ok..!

looking google webmaster I saw that google shows another mistake

search/

looking into the code it seem it come from

<!– JS generated by theme –>
<script>
var td_blocks = []; //here we store all the items for the current page

var td_ad_background_click_link=””;
var td_ad_background_click_target=””;
var td_ajax_url=”http://www.site.com/wp-admin/admin-ajax.php&#8221;;
var td_get_template_directory_uri=”http://www.bintmusic.it/wp-content/themes/Newspaper&#8221;;
var tds_snap_menu=””;
var tds_header_style=””;
var tds_mobile_swipe=””;
var td_search_url=”http://www.site.com/search/&#8221;; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Any suggestion?

Thanks

Viewing 25 results - 17,501 through 17,525 (of 18,570 total)