Forum Replies Created
-
AuthorPosts
-
Theme Horse Support Team
KeymasterHI woodlandsp,
All the functions is on the same page so you don’t need to move to other page to edit it. This file is inside theme folder -> library -> structure -> content-extension.php. You can change it in your way how you want to display.
You just create a child theme folder and create a file name functions.php and there you customise the code first unhook and then only customise code and if you are unable then you may hire a developer to fix it.
Thank you!
Theme Horse Support Team
KeymasterHi titleboxing,
You interface folder is lnside:-
Got to ftp -> public_html -> wordpress(your wordpress folder ) -> wp-content -> themes -> interfacemake a new child folder where interface is located not inside the interface
Thank you!
Theme Horse Support Team
KeymasterHi xauaz,
We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.
http://codex.wordpress.org/Child_Themes
Thank you!
Theme Horse Support Team
KeymasterHi Peer,
I think you don’t want this popup right ? So you need code customisation for it but We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.
http://codex.wordpress.org/Child_Themes
How to change it ?
=> first goto theme folder (interface pro) -> inc -> content-extension.php on
line number 1102 ==> for two column
line number 1214 ==> for three column and
line number 1326 ==> for four columnI think that you have used three coulmn, copy this all function to your child theme. Create functions.php on your child theme first
add_action( 'interface_gallery_three_column_template_content', 'interface_gallery_three_column_template_content', 10 ); /** * Displays the three column gallery content */ function interface_gallery_three_column_template_content() { ?> <div id="content"> <ul class="gal-filter clearfix"> <li class="active no-padding-left"><a href="javascript:void(0)" class="all" title="ALL"><?php _e('All','interface');?></a></li>/ <?php // Get the taxonomy $terms = get_terms('gallery_category'); // set a count to the amount of categories in our taxonomy $count = count($terms); // set a count value to 0 $i=0; // test if the count has any categories if ($count > 0) { // break each of the categories into individual elements $term_list =''; foreach ($terms as $term) { // increase the count by 1 $i++; // rewrite the output for each category $term_list .= '<li><a href="javascript:void(0)" class="'. $term->slug .'" title="'.$term->name .'">' . $term->name . '</a></li>' .'/'; // if count is equal to i then output blank if ($count != $i) { $term_list .= ''; } else { $term_list .= ''; } } // print out each of the categories in our new format echo $term_list; } ?> </ul> <div class="filterable-grid column clearfix"> <?php global $post; global $wp_query, $paged; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $the_query = new WP_Query( array( 'post_type' => 'gallery', 'posts_per_page' =>'-1', 'paged' => $paged ) ); $temp_query = $wp_query; $wp_query = null; $wp_query = $the_query; ?> <?php // The Loop while ( $the_query->have_posts() ) : $the_query->the_post(); $terms = get_the_terms( $post->ID, 'gallery_category' ); $output = '<div class="gal-image one-third" data-id="id-'.$count.'" data-type="'; if ( $terms && ! is_wp_error( $terms ) ) : foreach ($terms as $term){ $output .= strtolower(preg_replace('/\s+/', '-', $term->name)).' '; } endif; $output .='">'; if ( has_post_thumbnail() ) { $large = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'large' ); $output .= '<a class="gallery-fancybox" href="' .$large[0]. '" title="' .the_title( '', '', false ). '">'; $output .= get_the_post_thumbnail( $post->ID,'gallery' ); $output .= '</a>'; } $output .= '<h3 class="custom-gallery-title">'.the_title( '', '', false ).'</h3>'; $output .= "</div>"; echo $output; $count++; endwhile; ?> </div><!-- .column --> <?php if ( function_exists('wp_pagenavi' ) ) { wp_pagenavi(); } else { if ( $wp_query->max_num_pages > 1 ) { ?> <ul class="default-wp-page clearfix"> <li class="previous"><?php next_posts_link( __( '« Previous Images', 'interface' ), $wp_query->max_num_pages ); ?></li> <li class="next"><?php previous_posts_link( __( 'Next Images »', 'interface' ), $wp_query->max_num_pages ); ?></li> </ul> <?php } } /** * Restore original Post Data * NB: Because we are using new WP_Query we aren't stomping on the * original $wp_query and it does not need to be reset. */ $wp_query = $temp_query; wp_reset_postdata(); ?> </div><!-- #content --> <?php }unhook functions // Unhook default Thematic functions function unhook_thematic_functions() { // Don't forget the position number if the original function has one add_action( 'interface_gallery_three_column_template_content', 'interface_gallery_three_column_template_content', 10 ); } add_action('init','unhook_thematic_functions'); add_action( 'interface_gallery_three_column_template_content', 'interface_child_gallery_three_column_template_content', 10 ); function interface_child_gallery_three_column_template_content() { ?> <div id="content"> <ul class="gal-filter clearfix"> <li class="active no-padding-left"><a href="javascript:void(0)" class="all" title="ALL"><?php _e('All','interface');?></a></li>/ <?php // Get the taxonomy $terms = get_terms('gallery_category'); // set a count to the amount of categories in our taxonomy $count = count($terms); // set a count value to 0 $i=0; // test if the count has any categories if ($count > 0) { // break each of the categories into individual elements $term_list =''; foreach ($terms as $term) { // increase the count by 1 $i++; // rewrite the output for each category $term_list .= '<li><a href="javascript:void(0)" class="'. $term->slug .'" title="'.$term->name .'">' . $term->name . '</a></li>' .'/'; // if count is equal to i then output blank if ($count != $i) { $term_list .= ''; } else { $term_list .= ''; } } // print out each of the categories in our new format echo $term_list; } ?> </ul> <div class="filterable-grid column clearfix"> <?php global $post; global $wp_query, $paged; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $the_query = new WP_Query( array( 'post_type' => 'gallery', 'posts_per_page' =>'-1', 'paged' => $paged ) ); $temp_query = $wp_query; $wp_query = null; $wp_query = $the_query; ?> <?php // The Loop while ( $the_query->have_posts() ) : $the_query->the_post(); $terms = get_the_terms( $post->ID, 'gallery_category' ); $output = '<div class="gal-image one-third" data-id="id-'.$count.'" data-type="'; if ( $terms && ! is_wp_error( $terms ) ) : foreach ($terms as $term){ $output .= strtolower(preg_replace('/\s+/', '-', $term->name)).' '; } endif; $output .='">'; if ( has_post_thumbnail() ) { $large = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'large' ); $output .= '<a href="'.get_permalink().'" title="' .the_title( '', '', false ). '">'; $output .= get_the_post_thumbnail( $post->ID,'gallery' ); $output .= '</a>'; } $output .= '<h3 class="custom-gallery-title"><a href="'.get_permalink().'">'.the_title( '', '', false ).'</a>' .'</h3>'; $output .= "</div>"; echo $output; $count++; endwhile; ?> </div><!-- .column --> <?php if ( function_exists('wp_pagenavi' ) ) { wp_pagenavi(); } else { if ( $wp_query->max_num_pages > 1 ) { ?> <ul class="default-wp-page clearfix"> <li class="previous"><?php next_posts_link( __( '« Previous Images', 'interface' ), $wp_query->max_num_pages ); ?></li> <li class="next"><?php previous_posts_link( __( 'Next Images »', 'interface' ), $wp_query->max_num_pages ); ?></li> </ul> <?php } } /** * Restore original Post Data * NB: Because we are using new WP_Query we aren't stomping on the * original $wp_query and it does not need to be reset. */ $wp_query = $temp_query; wp_reset_postdata(); ?> </div><!-- #content --> <?php }Hope this may help you
Thank you!
August 28, 2014 at 8:35 am in reply to: Cannot parse category posts in pages from independent category pages #13361Theme Horse Support Team
KeymasterHi ziplock1,
There is a blog options blog full content display options. you just go to any pages and at the right side there is template dropdown, just select the blog full content display template and this will display your full content not the excerpts.
Did you customise the code or if full content is not displayed in your blog then just download a new template and it must display the full content because its working fine in our demo site too.
Thank you!
Theme Horse Support Team
KeymasterHi pure8421,
i can see that the link is working on the second and the third column do the same for (How to learn) this page too. Then it will work. Just check the link below the post. There is link and is you link displayed properly. just check it.
Thank you!
Theme Horse Support Team
KeymasterHi Paperdavid,
You need code customisation for it. You just simply go to the theme folder -> library -> structure -> header -extension.php
Can you see this code
if( has_post_thumbnail() ) { $attitude_featured_post_slider .= '<figure><a href="' . get_permalink() . '" title="'.the_title('','',false).'">'; $attitude_featured_post_slider .= get_the_post_thumbnail( $post->ID, $slider_size, array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ).'</a></figure>'; } if( $title_attribute != '' || $excerpt !='' ) { $attitude_featured_post_slider .= ' <article class="featured-text">'; if( $title_attribute !='' ) { $attitude_featured_post_slider .= '<div class="featured-title"><a href="' . get_permalink() . '" title="'.the_title('','',false).'">'. get_the_title() . '</a></div><!-- .featured-title -->'; } if( $excerpt !='' ) { $attitude_featured_post_slider .= '<div class="featured-content">'.$excerpt.'</div><!-- .featured-content -->'; } $attitude_featured_post_slider .= ' </article><!-- .featured-text -->'; }remove this code and add this code
if( has_post_thumbnail() ) { $attitude_featured_post_slider .= '<figure><a href="#" title="'.the_title('','',false).'">'; $attitude_featured_post_slider .= get_the_post_thumbnail( $post->ID, $slider_size, array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ).'</a></figure>'; } if( $title_attribute != '' || $excerpt !='' ) { $attitude_featured_post_slider .= ' <article class="featured-text">'; if( $title_attribute !='' ) { $attitude_featured_post_slider .= '<div class="featured-title"><a href="#" title="'.the_title('','',false).'">'. get_the_title() . '</a></div><!-- .featured-title -->'; } if( $excerpt !='' ) { $attitude_featured_post_slider .= '<div class="featured-content">'.$excerpt.'</div><!-- .featured-content -->'; } $attitude_featured_post_slider .= ' </article><!-- .featured-text -->'; }From here you slider and all content is displayed but We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.
http://codex.wordpress.org/Child_Themes
Thank you!
Theme Horse Support Team
KeymasterHi Paperdavid,
You need code customisation for it. You just simply go to the theme folder -> library -> structure -> header -extension.php
Can you see this code
if( has_post_thumbnail() ) {
$attitude_featured_post_slider .= ‘<figure>‘;
$attitude_featured_post_slider .= get_the_post_thumbnail( $post->ID, $slider_size, array( ‘title’ => esc_attr( $title_attribute ), ‘alt’ => esc_attr( $title_attribute ), ‘class’ => ‘pngfix’ ) ).’</figure>’;
}
if( $title_attribute != ” || $excerpt !=” ) {
$attitude_featured_post_slider .= ‘
<article class=”featured-text”>’;
if( $title_attribute !=” ) {
$attitude_featured_post_slider .= ‘<div class=”featured-title”>‘. get_the_title() . ‘</div><!– .featured-title –>’;
}
if( $excerpt !=” ) {
$attitude_featured_post_slider .= ‘<div class=”featured-content”>’.$excerpt.'</div><!– .featured-content –>’;
}
$attitude_featured_post_slider .= ‘
</article><!– .featured-text –>’;
}
remove this code and add this codeif( has_post_thumbnail() ) {
$attitude_featured_post_slider .= ‘<figure>‘;
$attitude_featured_post_slider .= get_the_post_thumbnail( $post->ID, $slider_size, array( ‘title’ => esc_attr( $title_attribute ), ‘alt’ => esc_attr( $title_attribute ), ‘class’ => ‘pngfix’ ) ).’</figure>’;
}
if( $title_attribute != ” || $excerpt !=” ) {
$attitude_featured_post_slider .= ‘
<article class=”featured-text”>’;
if( $title_attribute !=” ) {
$attitude_featured_post_slider .= ‘<div class=”featured-title”>‘. get_the_title() . ‘</div><!– .featured-title –>’;
}
if( $excerpt !=” ) {
$attitude_featured_post_slider .= ‘<div class=”featured-content”>’.$excerpt.'</div><!– .featured-content –>’;
}
$attitude_featured_post_slider .= ‘
</article><!– .featured-text –>’;
}
From here you slider and all content is displayed but We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.http://codex.wordpress.org/Child_Themes
Thank you!
Theme Horse Support Team
KeymasterHi Paperdavid,
You need code customisation for it. You just simply go to the theme folder -> library -> structure -> header -extension.php
Can you see this code
if( has_post_thumbnail() ) { $attitude_featured_post_slider .= '<figure><a href="' . get_permalink() . '" title="'.the_title('','',false).'">'; $attitude_featured_post_slider .= get_the_post_thumbnail( $post->ID, $slider_size, array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ).'</a></figure>'; } if( $title_attribute != '' || $excerpt !='' ) { $attitude_featured_post_slider .= ' <article class="featured-text">'; if( $title_attribute !='' ) { $attitude_featured_post_slider .= '<div class="featured-title"><a href="' . get_permalink() . '" title="'.the_title('','',false).'">'. get_the_title() . '</a></div><!-- .featured-title -->'; } if( $excerpt !='' ) { $attitude_featured_post_slider .= '<div class="featured-content">'.$excerpt.'</div><!-- .featured-content -->'; } $attitude_featured_post_slider .= ' </article><!-- .featured-text -->'; }remove this code and add this code
if( has_post_thumbnail() ) { $attitude_featured_post_slider .= '<figure><a href="#" title="'.the_title('','',false).'">'; $attitude_featured_post_slider .= get_the_post_thumbnail( $post->ID, $slider_size, array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'pngfix' ) ).'</a></figure>'; } if( $title_attribute != '' || $excerpt !='' ) { $attitude_featured_post_slider .= ' <article class="featured-text">'; if( $title_attribute !='' ) { $attitude_featured_post_slider .= '<div class="featured-title"><a href="#" title="'.the_title('','',false).'">'. get_the_title() . '</a></div><!-- .featured-title -->'; } if( $excerpt !='' ) { $attitude_featured_post_slider .= '<div class="featured-content">'.$excerpt.'</div><!-- .featured-content -->'; } $attitude_featured_post_slider .= ' </article><!-- .featured-text -->'; }From here you slider and all content is displayed but We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.
http://codex.wordpress.org/Child_Themes
Thank you!
Theme Horse Support Team
Keymasterhi marmarr,
All your post page content is displayed from the library -> structure -> content-extension.php file. There is a function for archive page single page etc. Just create a function.php file inside the child theme and first unhook the function and then again hook the function and customise the code. If you are still unable then you may hire a developer to fix the issue.simple example how to unhook for page 404.php
unhook functions // Unhook default Thematic functions function unhook_thematic_functions() { // Don't forget the position number if the original function has one remove_action( 'attitude_404_content', 'attitude_display_404_page_content', 10 ); } add_action('init','unhook_thematic_functions'); // removes the header content by using hook attitude_header add_action( 'attitude_404_content', 'attitude_child_display_404_page_content', 10 ); /** * function to show the footer info, copyright information */ function attitude_child_display_404_page_content() { ?> <div id="content"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Error 404-Page NOT Found', 'attitude' ); ?></a></h1> </header> <div class="entry-content clearfix" > <p>Thank you</p> </div><!-- .entry-content --> </div><!-- #content --> <?php }Hope this may help you
Thank you!
Theme Horse Support Team
KeymasterHi Phuong,
I tried to open you site but there is password protection. So please send your temporary username and password with this forum link and site url at [email protected]
We will look over it.Thank you!
Theme Horse Support Team
KeymasterHi Lan,
This problem is occurred according to the hosting. This problem is occurred in some hosting so we just ask the username and password with site url and remove the issue from the dashboard. We have fixed this issues for almost all users.
Thank you!
Theme Horse Support Team
KeymasterHi woodlandsp,
You just go to the dashboard -> appearance -> theme options -> advanced options -> home page / front page category
Select multiple category and this selected will be displayed in the front page or home page.
We don’t have any other features to display the selected category in other page. So you need code customisation.
We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.http://codex.wordpress.org/Child_Themes
If you are unable to fix the issue then you may hire a developer to fix the issue.
Thank you!
Theme Horse Support Team
KeymasterHi roelofvk,
You need the .po and .mo file and should be placed inside languages folder. We don’t create pot file. We just support the language only.
There are some pot file inside our attitude free theme. You just download the free attitude theme fromhttp://wordpress.org/themes/attitude
There inside language folder copy the language you want such as nl_NL.mp and nl_NL.po file and paste it in the same language folder of your attitude pro theme.
At the start of the wordpress inside wp-config.php file the language is default so you remove it with your pot file .
e.g :-define ('WPLANG', 'nl_NL');Then your site will be translated into your language.
1 thing is that each time you update to our theme you need to copy paste this po and mo file inside the language folder.
That’s allThank you!
Theme Horse Support Team
KeymasterHi Cerstin,
I think you have added the image inside the editor just check it once. Did you customise the code or not ?If still problem not solved then please send your temporary user name and password at [email protected] with this forum url and site details too. Hope we can help you
Thank you!
-
AuthorPosts
