Search Results for 'page template'

Results from the Forum
JJ0000
tagDiv Member

But is there a way to create a template in the theme for a page (in this case ‘register’ page) that strips out the sidebar and footer, etc.

glennkr
tagDiv Member

Hello Catalin.
Thank you for the response. I have just downloaded the theme, so I just have an youtube-gallery plugin and a wp cache plugin installed, in addition to the plugins coming with the template. The Newspaper 7 version has many more plugins, and still clearer images. There is only a difference for the images uploaded to the blocks, not images uploaded otherwise, so just look at the posts and associated images beneath the ‘spotlight’ heading on the page. If you could have a look and compare:
(i) With clear images for the blocks: http://www.thecar.no
(ii) With more fuzzy images for the blocks: http://www.thecarindia.com

Also:
– I would like to remove the author identification on the posts (perhaps I have overlooked a feature)
– I would also like to take away the black-comment symbol showing on the right side of the post
– I am not able to get the logo larger in size without using the max-size feature the new template. The logo also appear more sharp for the previous template (both are png files).

In advance, thank you.

Best,
Glenn

Catalin
tagDiv Staff

Hello mmedia6587,

You should simply use the Page with Page Title as the page template and use the code above only for homepage.

Try this ->

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

Thanks.

Catalin
tagDiv Staff

Hello mmedia6587,

Please notice that if you will use the Default template, as a page template, the page should not display the title of the page if you will use the page builder, sorry! Please clear all the caches, purge all CDN files if you are using the CDN system and check the results.

Also, the code whihc hide the page title is below ->

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

Thanks for your understanding!

glennkr
Participant
#0

Hello.
(1) I have two webpages, and I have Newspaper 8 on one of them, and Newspaper 7 on the other that was bought in April this year. I am using Block 12 for both of the pages. For the template that was bought in April, the images appear noticeably sharper for Block 12 compared to the newest template. I would like images to be as sharp as possible.

(2) When uploading a logo to the Newspaper 8, it seems that any predefined sized in terms of pixels do not affect the appearance of the logo on the site. For the template that was bought in April, I do not have this problem. Additionally, the logo uploaded on the template from April is again noticeably sharper than for the newest template downloaded.

Best,
Glenn

misom
tagDiv Member

Hi.

Can you please tell me if it is possible to put the post without sidebar
in the middle of the page? Have an example on my test website:

http://yourtestwebsite.info/2017/07/19/george-boateng-keeping-ron-vlaar-was-paul-lambert-masterstroke/

…using your sport template as default.

Thanks,
Miso

mmedia6587
Participant
#0

Hello,
I cannot remove the page title on homepage.
I am using DEFAULT template.

Please help. I read similar cases on the forum but nothing seems to help.

Simion C.
tagDiv Staff

Hi,

You can select the page template with title for the pages you want
https://www.screencast.com/t/KBd48Xvk1
Then the page title should be displayed for those particular pages.

Thanks

Simion C.
tagDiv Staff

Hi,

I believe that is the Latest articles section that you mention. That is displayed on the bottom o the page, when the needed page template is selected
https://www.screencast.com/t/FtmnwdNUas
This section can be customized in the page edit screen
https://www.screencast.com/t/dvGGsw9en1
More information about the Latest articles, and the page templates here
https://forum.tagdiv.com/page-templates-2/

Thanks

simchris
tagDiv Member

WordPress doesn’t have ‘tags’ built in for pages; so probably simplest way is via a plugin, or using custom fields. Or the ACF plugin (what I use). I actually use ACF to make a custom sub-head section after title, before post, where I can put in HTML if I want. I place the ACF field in the page template.

But at base level — ‘tags’ are not part of theme, but part of WordPress — so you may notice no option on page editor for tags, as WP doesn’t include them by default.

I don’t have a simpler solution; but perhaps simple ‘filter’ for functions.php to ‘add tag support to pages’ is available? I did this to add ‘excerpts’ – actually.

Not sure any of that is specific enough. Don’t work here. Stuck waiting on bunches of things to run this week, and killing time on dozen websites since I’m trapped here for awhile. 🙂

JJ0000
Participant
#0

Not sure if it makes any difference, but I’m using buddypress for registration page.
Can you point me to how to make registration page just have the basics (no sidebar, no news feed, etc). Thanks.

simchris
tagDiv Member

Dunno. Try changing your category template settings?

Clear transients with WP-optimize — resave permalinks.

Then try disabling any plugin that adds stuff like cookie popups, or similar that might be interfering with page render.

Often it’s a typo in something added to theme panel.

quangbahoa
tagDiv Member

Thanks for reply!

The error only on homepage. I’m try to turn debug true and get this:

Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require('C:\wamp64\www\dev\wp\test\wp-blog-header.php'), require_once('C:\wamp64\www\dev\wp\test\wp-includes\template-loader.php'), include('C:\wamp64\www\dev\wp\test\wp-content\themes\Newspaper\page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, td_global_blocks::proxy_function, vc_row->render, tdc_composer_block->do_shortcode, do_shortcode, preg_replace_callback, do_shortcode_tag, td_global_blocks::proxy_function, vc_column->render, tdc_composer_block->do_shortcode, do_shortcode, preg_replace_callback, do_shortcode_tag, DHVCWooCommerce->dhvc_woo_products_shortcode, DHVCWooCommerce->_render_product_loop, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in versio in C:\wamp64\www\dev\wp\test\wp-includes\functions.php on line 4139

Simion C.
tagDiv Staff

Hi,

The related articles section displayed on the post page, will inherit the global block header style set in the theme panel
https://www.screencast.com/t/gvvNvOqw9aJ
https://www.screencast.com/t/APvhZ2Sos
The template set there in the theme panel will be overridden by the individual block settings, in the page edit screen
https://www.screencast.com/t/DeoQV290MVb
And also by the settings in the widgets section
https://www.screencast.com/t/zvdYiVRP

Thanks

simchris
tagDiv Member

Most of it should be, assuming you’re running Apache/Linux. Note that the nice formatting of my code got kind of whacked when they moved to the new forum template…. soo.. might not be super readible/legible.

Kind of multiple threads going in my old mega thread — so, perhaps useful to work ‘backwards’ ?

a) some basic wp-config cleanups (add direct paths, memory change, image compression)
aa) htaccess stuff for common time to live, file type, redirect xmlrpc queries, etc.
b) some basic functions.php stuff to clean needless stuff in header of WP pages, remove stuff like XMLRPC stuff, some security stuff; remove ‘?’ queries on stuff (versioning);
c) optimize style.css with minifcation; compress main .js file per Google tool
d) consider moving to web-safe font stack and not loading ANY google fonts; have to hack out section in the main them booster function file, then search/replace the ‘font-family’ elements in the style.css (easier prior to minification, obviously)
e) put custom CSS bottom of style.css vs theme panel

advanced stuff included – un-enqueueing the main style.css, loading in footer; after generating “critical CSS’ with the critical CSS generator online; putting above the fold CSS in header.php (only way to remove render blocking css) ** not needed if moving to http/2 platform.

Super advanced peeps might choose to use mod-pagespeed, https, php 7, and http/2.

So, basically.. kind of a “test your speed,” (with *no* ads running); then make some mods; then retest couple of times, etc., rinse repeat.

I’m no longer using Newspaper – moved to NewsMag 3x last year entirely. Not yet on 4x. But also using TagDiv’s WPION thing as a beta test. (actually re-rendering thumbs for one test of that right now in other browser tab!).

Soooooooo….. basic Apache stuff, and WP-config.php stuff, and common sense thing for functions.php that do specific things — all useful. Good to research WHAT things do before using them.

  • This reply was modified 9 years by simchris.
Simion C.
tagDiv Staff

Hi,

When the mobile theme plugin is active, it will display a predefined template for the front page. There are no options at the moment to add a new page template or remove the default Top grid and Related articles section.
Content for pages on mobile is limited to the mobile editor that appears in the page edit screen, when the mobile plugin is active
https://forum.tagdiv.com/the-mobile-theme/
You could manually remove these sections from the theme files by commenting or removing these elements from the front page, if that is what you want
https://www.screencast.com/t/yLgwSvmuoMB8
Or maybe hide them with CSS
https://www.screencast.com/t/KubcQaddK

Thanks

Trettisekshundre
Participant
#0

Hello. We have a webpage where we want the top 3 most recent content to be deleted in mobile view. Also that the things that are under “Latest Articles” Then the picture should also be a little more text to be included and not just the title of the case.

Is there any way to create custom page templates so that we can decide how does the layout want to be?

Regards
Mario Ellefsen
Web developer / Technical Manager Akari AS

Simion C.
tagDiv Staff

Hi,

You could select the page template that will make the page title display at all times
https://www.screencast.com/t/sts38FOpd97U
https://www.screencast.com/t/GvdcXKBAs6a

Thanks

Catalin
tagDiv Staff

Hello emilm,

Notice that I showed you above how you can switch this template with another one. Do you want to remove only the pagination? Notice that if you will make this, you will not paginate your Latest Articles template.

You can try the code below ->

.page-nav{
display:none;
}

Thanks.

JJ0000
tagDiv Member

Was for login page. Yeah was looking stuff up + asking here, wasn’t sure if theme affected it at all.

This code fixed it:

function custom_loginlogo() {
echo ‘<style type=”text/css”>
h1 a {background-image: url(‘.get_bloginfo(‘template_directory’).’/images/login_logo.png) !important; }
</style>’;
}
add_action(‘login_head’, ‘custom_loginlogo’);

dmalhotra
tagDiv Member

Hello Catalin,

Thank you so much for your reply. However, the result is not what I desired. And it is not your fault. I just re-read my original post and I did not state clearly what I was looking for.

I need the featured image to be on the left side of the page and I need the ad block (ad block post template style 1) to be on the right side of the page. They both need to be right next to each other. With featured image and ad block in the same row… I would like the rest of the post (text, images etc) to show up right below them. Please note that the featured image size on my site is 300px wide and the ad size is 300px wide as well. How can I get the featured image and ad block to show up right next to each other without the ad block to scroll down?

I hope that you can help.

Thank you so much!

Simion C.
tagDiv Staff

Hi,

Creating a new page template will not be an easy task. There is no theme option to allow an easy implementation of a new page template, at the moment. Even if you would manage to somehow create a new one, it may not work properly with the rest of the theme.
When something like this will be added it will work as intended, but I could not say when exactly this will happen.

Thanks

Simion C.
tagDiv Staff

Hi,

The Latest articles section that is displayed on the bottom of the page, can be removed by selecting a different page template
https://www.screencast.com/t/R2XeSZFSZM
More information about the available page templates here
https://forum.tagdiv.com/page-templates-2/

Thanks

Simion C.
tagDiv Staff

Hi,

You cannot add more page templates in the mobile theme. The front page will always display the top grid with your featured posts, and the latest articles section at the bottom. The category pages and post pages will display their own template, regardless of what is selected on desktop. Inserting content for pages is limited to the mobile editor, that appears in the page edit screen, when the mobile theme is activated.
The mobile theme is designed to be as light as possible with performance in mind. However, more customization options may be added to it in future updates.

Thanks

Simion C.
tagDiv Staff

Hi,

The category pages can only be customized through the theme panel, at the moment. You can customize each category page the way you want, using the available settings
https://forum.tagdiv.com/how-category-settings-work/
https://forum.tagdiv.com/category-templates/
https://forum.tagdiv.com/category-top-post-styles-2/

Thanks

Viewing 25 results - 14,901 through 14,925 (of 18,570 total)