- This topic has 12 replies, 2 voices, and was last updated 8 years, 10 months ago by Mahesh.
-
AuthorPosts
-
January 26, 2016 at 3:00 am #83740margaParticipant
Hello
two questions for site http://praxispetraweber.alfahosting.org/1. how and where can I change the text of the copyright at the bottom
where it says:“Copyright © 2016 . Alle Rechte vorbehalten. and Catch Base Child Theme by Catch Themes Team”
2. I have display:none the text on the slider but is there a way that its not linked anymore….? I don´t get it with css.
Thanx for this great theme..
Marga
January 26, 2016 at 11:51 am #83761MaheshParticipantHi @marga,
Thank you for your appreciation.
1. In Catch Base Free version, feature to change copyright text is not available, however, it is available in Catch Base Pro. I recommend you to upgrade to pro version.2. For removing link from slider, you have to create a child theme. You can find more details on creating child theme HERE. Then in
functions.php
add the following codes.function catchbase_page_slider( $options ) { $quantity = absint( $options['featured_slide_number'] ); global $post; $output = ''; $number_of_page = 0; // for number of pages $page_list = array(); // list of valid page ids //Get number of valid pages for( $i = 1; $i <= $quantity; $i++ ){ if( isset ( $options['featured_slider_page_' . $i] ) && $options['featured_slider_page_' . $i] > 0 ){ $number_of_page++; $page_list = array_merge( $page_list, array( $options['featured_slider_page_' . $i] ) ); } } if ( !empty( $page_list ) && $number_of_page > 0 ) { $get_featured_posts = new WP_Query( array( 'posts_per_page' => $quantity, 'post_type' => 'page', 'post__in' => $page_list, 'orderby' => 'post__in' )); $i=0; while ( $get_featured_posts->have_posts()) { $get_featured_posts->the_post(); $i++; $title_attribute =the_title_attribute( array( 'before' => __( 'Permalink to:', 'catch-base' ), 'echo' => false ) ); $excerpt = get_the_excerpt(); if ( $i == 1 ) { $classes = 'page pageid-'.$post->ID.' hentry slides displayblock'; } else { $classes = 'page pageid-'.$post->ID.' hentry slides displaynone'; } $output .= ' <article class="'.$classes.'"> <figure class="slider-image">'; if ( has_post_thumbnail() ) { $output .= get_the_post_thumbnail( $post->ID, 'catchbase_slider', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'attached-page-image' ) ); } else { //Default value if there is no first image $catchbase_image = '<img class="pngfix wp-post-image" src="'.get_template_directory_uri().'/images/gallery/no-featured-image-1200x514.jpg" >'; //Get the first image in page, returns false if there is no image $catchbase_first_image = catchbase_get_first_image( $post->ID, 'medium', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class' => 'attached-page-image' ) ); //Set value of image as first image if there is an image present in the page if ( '' != $catchbase_first_image ) { $catchbase_image = $catchbase_first_image; } $output .= $catchbase_image; } $output .= ' </figure><!-- .slider-image --> <div class="entry-container"> <header class="entry-header"> <h1 class="entry-title"> <a title="' . the_title_attribute( array( 'before' => __( 'Permalink to:', 'catch-base' ), 'echo' => false ) ) . '" href="' . get_permalink() . '">'.the_title( '<span>','</span>', false ).'</a> </h1> <div class="assistive-text">'.catchbase_page_post_meta().'</div> </header>'; if( $excerpt !='') { $output .= '<div class="entry-content">'. $excerpt.'</div>'; } $output .= ' </div><!-- .entry-container --> </article><!-- .slides -->'; } wp_reset_query(); } return $output; }
Regards,
MaheshJanuary 26, 2016 at 3:01 pm #83771margaParticipantHello Mahesh, thanx for the quick reply.
By an upgrade do I have to create the site new?
marga
January 26, 2016 at 3:43 pm #83773MaheshParticipantHi @marga,
No, you do no need to create a new site, you only need to install Pro theme in you current WordPress installation then activate the theme.
Regards,
MaheshJanuary 27, 2016 at 5:05 pm #83882margaParticipantHello Mahesh,
I have already a childtheme, and after I have added this code in the function.php I got this error
Parse error: syntax error, unexpected end of file in /var/www/web582/html/WordpressPraxis/wp-content/themes/catch-base-child/functions.php on line 94Now it´s working again, I have changed the function.php via ftp.
When I buy the pro version, do I have to install the new childtheme and do all the changings like picture upload, custom.css function.php????
thanx Marga
January 27, 2016 at 5:12 pm #83884MaheshParticipantHi @marga,
Buying a pro version, you have to create a child theme, copying previous child theme and and making some changes in its
style.css
will work. Such as Theme Name, Template and the folder name too. And you do not need to upload media or pictures again.Regards,
MaheshJanuary 27, 2016 at 5:49 pm #83886margaParticipantThanx.
But the code for the function.php will this be the same for the pro version. Do you know why it´s not working?marga
January 28, 2016 at 9:19 am #83915MaheshParticipantHi @marga,
Yes, the same code for
functions.php
work fine for Pro version too.
What seems to be the problem? Have you copied the above code into child theme’s functions.php?Regards,
MaheshJanuary 28, 2016 at 1:01 pm #83943margaParticipantHello Mahesh,
ooh I see I had written this a bit wrong in my post befor.
but the code gives this errror message.Parse error: syntax error, unexpected end of file in /var/www/web582/html/WordpressPraxis/wp-content/themes/catch-base-child/functions.php on line 94
I have just added the code to the rest of the code from function.php
greetings marga
January 31, 2016 at 3:59 pm #84228margaParticipantHello Mahesh
now it´s working,
but just a small thing.
I still get when I move with cursor on the slide the permalink as title… Is this possible to get rid of.thanx marga
February 1, 2016 at 10:21 am #84301MaheshParticipantHi @marga,
In the above code, please replace the follwing lines of code.
$title_attribute =the_title_attribute( array( 'before' => __( 'Permalink to:', 'catch-base' ), 'echo' => false ) );
With this:
$title_attribute =the_title_attribute( array( 'echo' => false ) );
Let me know if any problem arises.
Regards,
MaheshFebruary 2, 2016 at 4:32 pm #84433margaParticipantGreat, thanx this works…..
greetings marga
February 2, 2016 at 5:11 pm #84438 -
AuthorPosts
- The topic ‘change text from copyright’ is closed to new replies.