Search Results for 'page template'

Results from the Forum
Marius
tagDiv Staff

Hello,
I’m not sure is that simple to make this custom page. Please make it using Page Builder if is ok for you.

Thanks for understanding.

shariarkuasa
Participant
#0

Hi,
I recently bought newspaper theme, still configuring for my site. Need a little help. I might be missing out something in documentation.
The search result page shows full posts, not like search module. How can i fix it? Checkout http://getandroidstuff.com/?s=angry+birds

I used to use a custom search page with search template to show result from google CSE. Is there an easy way to integrate that?
Thanks

matthewvb
tagDiv Member

@sunkast:

Generic – I used it for a custom post type, but throw in what you’d like. Framework is all there.

<?php
/* Template Name: Media Tracker - Custom */

get_header();

  $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;

	//define $args here.
	$wp_query = new WP_Query( $args );

?>

<div class="container td-page-wrap">
	<div class="row">
		<div class="span12">
                	<div class="td-grid-wrap">
                        	<div class="container-fluid">

<h1 itemprop="name" class="entry-title td-page-title">Page Title</h1>

<?php
if (have_posts()) { ?>
    <?php while ( $wp_query->have_posts() ) : $wp_query->the_post();?>

	<?php // output loop contents here ?>
    <?php endwhile; ?>

<?php echo td_page_generator::get_pagination(); ?>

<?php } else {
    echo td_page_generator::no_posts();
} ?>

			</div>
                    </div>
                </div>
            </div>
        </div>
<?php get_footer(); ?>
Temeteus
Participant
#0

Hello,
I am not able to add categories into menu anymore? I made homepage with Blank template.
What might be the problem…..

dalandau
tagDiv Member

I still do not understand you, have you read the code I edited?
Or did you outsource support now you have sold 1500 theme and you feel too confident that you start giving refunds instead of helping with theme related only the developer can help with (unlike the many same mostly stupid questions you answer over and over again because of using the comment system on theme forest where the community cannot colmment on someone elses thread or because of that same comment system not being searchable). Its ok but you should have hired a coder for support. Because your answer shows me that you do not understand or that you just did not read this thread

https://forum.tagdiv.com/topic/featured-video-and-dailymotion/#post-1614

you could at least have answered

Can you please help me with the following and tell me if I could have done it better

to make these things template features/options so that when I update it will not break, its just a few on and off switches
option to make featured image float left or right, while being nicely responsive
option to show featured image on video pages instead of replacing it with featured video
option to have featured image of single video pages to scroll to video when clicked
how to make the scroll to video nicer, also your scroll to comments (so that it scrolls and doesn’t jump)
a feature to have the video icon as a image watermark so that we will have to call one less image in template, will be faster and also for facebook thumnail the video icon will be in the image
why have you added this
.format-video p {
padding-top: 11px !important;
}

pantera
tagDiv Member

Yes I mean exactly that page. Maybe I’m a little confused.
Normally i build up a page and set it as “archive template

Now I don’t see a template, so I don’t have to setup a page? In this case how can I link the archive in the menu?

Thanks

Giovanni

pantera
Participant
#0

Can you please provide some information on how to create an effective archive page? What’s the best template to use?

The archive page is a normal page? In other theme usually there is a dedicated “archive template” but here I suppose we have to deal with composer.
It’s not a problem, but I prefer to ask and be sure to do things the right way.

Thanks

Giovanni

sunkast
Participant
#0

I’m trying to figure out how best to create a custom template for a CPT that I have.

This is what I want it to more or less look like.

http://tinypic.com/r/11942md/5

My CPT is basically just people in our company. Obviously this can be done easily using Visual Composer and create a page. However, I need to be able to create the same design for use as the the archive template for the CPT.

What would be the best way to go about this?

dalandau
tagDiv Member

Hi,

Here is what I have been able todo so far:
http://staging1.wp.gem-diamonds.com/news/one-of-a-kind-10-carat-royal-blue-diamond-for-sale-in-new-orleans

1) re-sized the image in functions.php

//featured image
$td_crop_features_image = td_util::get_customizer_option('crop_features_image');
if ($td_crop_features_image == '') {
 //add_image_size('featured-image', 700, 0, true); 
 add_image_size('featured-image', 320, 0, true);
} else {
 //add_image_size('featured-image', 700, 357, true); 
 add_image_size('featured-image', 320, 180, true);
}

2) added some custom css in wp-admin/themes.php?page=editcss
To make the image float on the right (not a good way does not play nice responsive, please tell me a better way)

.post .thumb-wrap {
	text-align: center;
	margin-bottom: 5px;
	background-color: #f2f2f2;
	float: right;
	margin-left: 10px;
}

3) edited /wp-content/themes/Newspaper/includes/app/modules/module_modifier/td_module_blog.php
so that video pages show featured image

function get_image($thumbType, $image_link = '', $image_excerpt = '') {
        global $page;
        if (!empty($page) and $page > 1) {
            return;
        }
        //echo 'raxxx' . $page;

        if (td_util::get_option('tds_show_featured_image') == 'hide') {
            return;
        }

        if (get_post_format($this->post->ID) == 'gallery') {
            return;
  //      }

 //       if (get_post_format($this->post->ID) == 'video') {
            //if it's a video post...
  //          $td_post_video = get_post_meta($this->post->ID, 'td_post_video', true);
 //           $td_video_support = new td_video_support();
 //           if (!empty($td_post_video['td_video'])) {
 //               return $td_video_support->renderVideo($td_post_video['td_video']);
 //           }
        } else {
            //if it's a normal post, show the default thumb

            //get the full url
            $attachment_id = get_post_thumbnail_id($this->post->ID);

            $td_temp_image_url = wp_get_attachment_image_src($attachment_id, 'full');

            $image_excerpt = get_post_field('post_excerpt', $attachment_id);
            if (!empty($image_excerpt)) {
                $image_excerpt = '<p class="wp-caption-text td-featured-image-caption">' . $image_excerpt . '</p>';
            }

            $post_image = '';

            if (!empty($td_temp_image_url[0])) { //if we have a full url, link the image to that
                $post_image = parent::get_image($thumbType, $td_temp_image_url[0], $image_excerpt);
            } else {
                $post_image = parent::get_image($thumbType, '', $image_excerpt);
            }

            return $post_image;

        }
    }

4) edited /wp-content/themes/Newspaper/includes/content_builder/td_module.php
so that only on single video pages a click on image would scroll to video

$buffy .= '<div class="thumb-wrap">';

            if (current_user_can('edit_posts')) {

                $buffy .= '<a class="td-admin-edit" href="' . get_edit_post_link($this->post->ID) . '">edit</a>';

            }
			
			if ((get_post_format($this->post->ID) == 'video') and (is_single($post))){
			
			$buffy .='<a  href="#video" rel="bookmark" title="' . $this->title_attribute . '">';
			
			} else {

            $buffy .='<a ' . td_util::if_show($show_colorbox_class, 'class="td-featured-img"') . ' href="' .

                $image_link . '" rel="bookmark" title="' . $this->title_attribute . '">';

			}

Can you please help me with the following and tell me if I could have done it better

  1. to make these things template features/options so that when I update it will not break, its just a few on and off switches
    • option to make featured image float left or right, while being nicely responsive
    • option to show featured image on video pages instead of replacing it with featured video
    • option to have featured image of single video pages to scroll to video when clicked
  2. how to make the scroll to video nicer, also your scroll to comments (so that it scrolls and doesn’t jump)
  3. a feature to have the video icon as a image watermark so that we will have to call one less image in template, will be faster and also for facebook thumnail the video icon will be in the image
  4. why have you added this
    .format-video p {
    padding-top: 11px !important;
    }

Thank you

  • This reply was modified 12 years by dalandau.
  • This reply was modified 12 years by dalandau.
  • This reply was modified 12 years by dalandau.
  • This reply was modified 12 years by dalandau.
  • This reply was modified 12 years by dalandau.
  • This reply was modified 12 years by dalandau.
  • This reply was modified 12 years by dalandau.
  • This reply was modified 12 years by dalandau.
russweb
Participant
#0

Hi

I’m new to the theme, so am sure I’m doing something wrong but I keep losing the function for sub-categories. Most of the time it just goes to the sub-category page instead of switching to the excerpts from that category.
Please can you send me right settings. I found it only works with “Homepage with article list” template, but even with that on, I have lost the functionality.

Many thanks

bentatts
Participant
#0

Hey team,
I’m having trouble getting both the short codes and visual editor to group the content into columns such as 1/2 1/2 and 2/3 1/3.

Here’s an example of the homepage with the visual editor template “homepage – Magazinely” applied. http://grab.by/ryy2

Any ideas why this is happening?

Cheers,
Ben

idyllo
tagDiv Member

Hey Marius.
I don’t know what you’re asking exactly, but what I want is to have comments active in the same manner as we have for posts. I use the Disqus plugin so I think there’s no problem if there’s just the default template.

Thank you and eagerly await your fix.

Marius
tagDiv Staff

Hello,
We will make a fix, do you want comments for Pages with Default template on Page Attributes?

Thanks for the message and sorry for delay!

Marius
tagDiv Staff

Hello,
You make a page with page builder and you want to hide the title?
On that page use this template: Homepage – blank http://screencast.com/t/aeArNmTE

If you want sidebar you can add it from pagebuilder Templates and add Widgetised sidebar like here: http://screencast.com/t/KHhjmqNjX

Thanks for the message!

eldero
Participant
#0

Hello, congratulations for the template, very nice.
I installed the latest version 1.5.1
I have 2 problems, the first (in question) is that in the pages (not articles) do not display the comments.
The second is a problem with the function minify of W3 total cache, if enabled does not work research.

Radu
tagDiv Staff

Hello,

Only edit the page and select the layout like here: http://screencast.com/t/d4xNs5Wu3 use a template that has article list (like homepage – article list)

NewWP
tagDiv Member

Great. Now I can remove the categories. But how to change the size of big slide? I just want to know where and how to change it, even the coding stuff, I can do it myself.
Because sometimes the size of element of the plugins is too big or small which does not fit our site, so I really want to have a full customization on this. Please help me out so I can know how to customize item on Visual Composer.

By the way, I want to put specific content on the side bar for each post, is it possible? For example, for a device review, I want to post a short description for each device on the post about pros and cons. Can I do that? I don’t want to create a page without a sidebar because the feature image, the rating score and the comments are too big.

Thanks so much.

Marius
tagDiv Staff
How to - reply

1. If you use the Homepage-with article list, Homepage-bg+article list templates you cannot change the latest posts to show on the top of the page.
If you use the Default Template, Homepage – bg-no article list, Homepage blank or Page builder – with title templates you can change the latest posts to show on the top of the page from visual composer.
2. To hide the top black menu go in theme-customizer-> navigation like here:http://screencast.com/t/rj5k7klNl
3. Unfortunately, you cannot edit the featured thumb only from code. you can hide it like this: http://screencast.com/t/w55FuuCQLBI
4. Sorry, you cannot move the navigation menu yet.
5. We will try to test our theme with ubermenu and will let you know if it work.

NewWP
tagDiv Member

Thank Daniela.

I managed to translate all the text, however there are 2 of them which is unchangeable:
– We’re sorry, but the page you are looking for doesn’t exist.
For this case, both the translation and English text show up on the screen like this: http://www.screencast.com/t/YEMgRoQ1peE
– If you’re not happy with the results, please do another search. http://www.screencast.com/t/mUXByHNBNg
Hope these 2 will be fixed on the next update.

Also, I want to change the size of the big slide. So how can I do that? Do I have to change the code or something?

Marius
tagDiv Staff

Hello,

Replace this files http://import.tagdiv.com/newspaper/block6.zip

– td_block_6.php in \includes\app\shortcodes
– td_wp_cake.php in \includes

I’ve make the block6 that is module9 and you can use it with page builder. Use for your homepage as template Homepage – Blank

http://screencast.com/t/boqwb8bef

Marius
tagDiv Staff

Hello,

Edit the page and select Homepage – bg + with article list template like here: http://screencast.com/t/SUpHqpEj
And you have this settings: http://screencast.com/t/efLBToJ0MmI , please insert the url image or backgroun color and the limit slide.
The posts that appear in big slider are featured posts(posts that are in the featured category).

lubhelium
Participant
#0

So I’ve commented //get_template_part(‘parts/header/menu_header’);

How do I reduce the space between the logo and the first items in the page?

Klaus D. Doll
Participant
#0

How can I set up the “bid slide” with “Homepage – bg + with article list”? All I see on the template is the red area for the big slide, but no way how to set it up.

Many thanks
Klaus

Marius
tagDiv Staff

Hello,

To make the Homepage with infinite scroll, create a page, use the Homepage – Blank template and make like here: http://screencast.com/t/Mb1U46TNY

Edit the slider and set it like you want, can be sorted by latest, features, popular, just edit the slider and see all options.

Thanks for the message and please feel free to ask us anything!

NewWP
tagDiv Member

Hi Daniela,

I see your point. Now I have a category which I can change the layout but I cannot link the category http://www.screencast.com/t/2WBOhKTaBJTy with the page on the header menu http://www.screencast.com/t/C1xx5dQy.

I just want to create a layout like yours: http://demo.tagdiv.com/newspaper/category/module-8-category/

Sorry if I miss out the obvious.

Thanks & best regards.

Viewing 25 results - 18,526 through 18,550 (of 18,570 total)