claubs

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • in reply to: Powered by link redirects to the incorrect website #72401
    claubs
    Participant

    Yes, I the only file edited is funtcions.php with the code posted in a previous post in this thread. The style.css file only contains the following:

    /*
    Theme Name: Kahuna Theme Child
    description: >-
      Kahuna Child Theme
    Author: Claudia
    Template: kahuna
    Version: 1.0.0
    Text Domain: kahuna-child
    */
    

    My css changes were made from the theme custom css tab when clicking Appearance and then Customize option. The changes that I did, were the ones posted in a previous post in this thread.

    I’ve also tried to deactivate all my plugins and I got the same the result.

    Thanks

    • This reply was modified 5 years ago by claubs.
    • This reply was modified 5 years ago by claubs.
    in reply to: Twitter card not working for blog posts #72317
    claubs
    Participant

    I was able to fix it just adding the following code to the child theme. Just sharing the code just in case helps someone else:

    add_action('wp_head', 'add_twitter_cards');
    function add_twitter_cards() {
        if(is_single() || is_page()) {
            $tc_url    = get_permalink();
        	$tc_title  = get_the_title();
        	$tc_description   = get_the_excerpt();
        	$tc_images = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), full );
        	$tc_image_thumb  = $tc_images[0];
    		if(!$tc_image_thumb) {
       		   $tc_image_thumb = 'my-url-for-page-thumbs';
      		}
        	$tc_author   = str_replace('@', '', get_the_author_meta('twitter'));
    ?>
        <meta name="twitter:card" value="summary" />
        <meta name="twitter:site" value="@my-twitter-account" />
        <meta name="twitter:title" value="<?php echo $tc_title; ?>" />
        <meta name="twitter:description" value="<?php echo $tc_description; ?>" />
        <meta name="twitter:url" value="<?php echo $tc_url; ?>" />
        <meta name="twitter:image" value="<?php echo $tc_image_thumb; ?>" />
        <?php if($tc_author) { ?>
            <meta name="twitter:creator" value="@<?php echo $tc_author; ?>" />
    	<? }
        }
    }
    ?>

    All the best,
    Claudia

    in reply to: Powered by link redirects to the incorrect website #72288
    claubs
    Participant

    If I active the theme, the url is correct. When activating the child theme again, the url is not correct.

    I have the following active plugins:
    – Akismet Anti-Spam 4.1 version
    – All-in-One WP Migration 6.82 version
    – Jetpack by WordPress.com 6.8.1 version
    – Related Posts 5.12.84 version
    – Simple Twitter Tweets 4.4 version
    – SumoMe 1.30 version

    but I don’t think they are the cause of the url issue because when setting the theme, the url is correct.

    The code that I added to the child theme is:

    add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
    function enqueue_parent_styles() {
       wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
    }
     
    add_action( 'wp_enqueue_scripts', 'enqueue_load_fa' );
    function enqueue_load_fa() {
    wp_enqueue_style( 'load-fa', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' );
    }

    and the additional css that I added is the following:

    #header-page-title #breadcrumbs-container {
        display: none;
    }
    #header-page-title .entry-title {
        max-width: 100%;
    }
    .entry-content .twitter-tweet-rendered {
    max-width: 45% !important;
    }
    
    #commentform .comment-form-url {display:none;}
    
    #lp-text-three .lp-text-title {text-align:center;}
    #lp-text-three .lp-text-content .continue-reading-link{float:none; text-align:center; width:105px; margin:0 auto;}

    Thanks!

    in reply to: Twitter card not working for blog posts #72265
    claubs
    Participant

    I have another website using another theme and I don’t have this issue (and I haven’t installed any social SEO or sharing plugin). This is not happening when tweeting youtube’s url, the thumb is automatically generated. I tried the twitter validator https://cards-dev.twitter.com/validator and I got the following error:

    INFO:  Page fetched successfully
    INFO:  5 metatags were found
    ERROR: No card found (Card error)

    It seems that the page (website) needs to include metadata to show the image: https://twittercommunity.com/t/error-no-card-found-card-error/107179

    Any help is appreciated.

    Thanks,
    Claudia

    • This reply was modified 5 years ago by claubs.
    in reply to: Powered by link redirects to the incorrect website #72264
    claubs
    Participant

    Hi! I haven’t edited the theme, and the only code that i added in the child theme is the following:

    add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
    function enqueue_parent_styles() {
       wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
    }
    
    add_action( 'wp_enqueue_scripts', 'enqueue_load_fa' );
    function enqueue_load_fa() {
    wp_enqueue_style( 'load-fa', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' );
    }

    Thanks,
    Claudia

    in reply to: Translation of word 'comment' #72173
    claubs
    Participant

    Hi, I’m still experiencing the same behavior. Any help is appreciated.

    The same happens with the amount of replies that I have in a blog post. For example it said 4 comments instead of 4 comentarios. Same behavior for the date. It said 4 meses ago instead of 4 meses atrás. See https://claudia-badell.com/talk-at-agile-testing-days-usa-testing-as-part-of-the-team-culture/
    Thanks!
    Claudia

    • This reply was modified 5 years ago by claubs.
    • This reply was modified 5 years ago by claubs.
    in reply to: How to hide title after Home icon and Blog link in header #67845
    claubs
    Participant

    Great! Thanks!

    claubs
    Participant

    Hi Zed!

    Thanks for your reply. It’d be great if meta information can be shown in featured boxes as an optional setting. As those lists are feed from blog posts, it’d be nice to be able to show the published date in order to give readers a sense of my publish frequency when they enter to my landing page.

    Is there any mechanism to send feedback or propose ideas to improve the theme?

    Have a great day.

    Thanks,
    Claudia.

    in reply to: How to hide title after Home icon and Blog link in header #67504
    claubs
    Participant

    Thanks Zed for you reply. It is a bit redundant that information from my point of view. Is there any way to hide all right information and make the title of the blog post fix the width of the header?

    Thanks!
    Claudia

    in reply to: Translation of word 'comment' #67031
    claubs
    Participant

    Hi!

    I got the same behavior. I translated to ‘Ingresa tú comentario aquí…’ but it shows ‘Comment’. Other texts are shown as translated and expected, e.g. ‘Email’ is shown as ‘Tú correo electrónico’.

    https://claudia-badell.com/video-charla-en-testinguy-2018-mind-maps-para-potenciar-las-pruebas-exploratorias/

    Thanks!

    Website: claudia-badell.com

    • This reply was modified 6 years ago by claubs.
    • This reply was modified 6 years ago by claubs.
    in reply to: Image size for landing page #64812
    claubs
    Participant

    Hi Zed!

    I removed from custom css the following
    .lp-staticslider {
    position: relative;
    overflow: hidden;
    max-height: 100vh;
    background-image: url(“https://claudia-badell.com/wp-content/uploads/2018/04/Landing-2.jpg&#8221;);
    height: calc(100vh – 85px);
    width: 100%;
    background-size: cover;
    background-position: center;
    }

    and added it as the static image for the landing page and it seems to work. Do you mean that setting?

    Thanks,
    Claudia

    Website: claudia-badell.com

    in reply to: Image size for landing page #63597
    claubs
    Participant

    In the slider. In order to see it correctly I had to add the following custom css:

    .lp-staticslider {
    position: relative;
    overflow: hidden;
    max-height: 100vh;
    background-image: url(myImage);
    height: calc(100vh – 85px);
    width: 100%;
    background-size: cover;
    background-position: center;
    }

    Thanks

    • This reply was modified 6 years ago by claubs.
    in reply to: Thumbs at landing page are not correctly adjust #62151
    claubs
    Participant

    It worked! Thanks

    claubs
    Participant

    Thanks Zed! Is there any way that i can add a list of posts filtered by a tag in the landing page? (not using the featured boxes lists)

    Thanks for your help,
    Claudia

    • This reply was modified 6 years ago by claubs.
    in reply to: How to remove site title in Blogs header? #58419
    claubs
    Participant

    I’m obtaining a different behavior. I have a page named Blog and it is set as the blog page. In the header menu the value that is shown for that page is Blog => ok but when I click Blog value in the header menu, the title which is shown in the header title is not Blog is the name of my site. All my posts are listed but the header title is not Blog, it is my site name.

    How can I set the header title as Blog when clicking my blog page?

    Thanks for your help!

    in reply to: Remove post info from featured picture overlay #58418
    claubs
    Participant

    Great! Thanks!

    in reply to: How to change icon when hovering a post in blogs list? #58417
    claubs
    Participant

    That worked!

    Thanks for your help!
    Claudia

    in reply to: How to remove site title in Blogs header? #58235
    claubs
    Participant

    Hi!

    I haven’t figured out how to do it yet. Any clue is appreciate it!

    Thanks,
    Claudia

    in reply to: Remove post info from featured picture overlay #57926
    claubs
    Participant

    Hi,

    I haven’t found yet how to hide this information. Really appreciate it any help you can provide.

    Thanks!

    in reply to: Remove post info from featured picture overlay #57776
    claubs
    Participant

    Hi!

    I would like not to display the info when hovering over the image. How can I hide the information displayed at the left side of the image as well as the link icon?

    I haven’t found a way to do it.

    Thanks!
    Claudia

Viewing 20 posts - 1 through 20 (of 20 total)