Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)
  • Thread Starter NCRoma

    (@ncroma)

    Thanks for you’r reply!

    I don’t understand, like I’ve showed you in the previest posts, I do have the Open Graph tags in the head section of the page! The presented code is from the head.php file of WordPress!

    But, as you said, in the facebook debugger it does say my tags are not in the head section, what is actually hapening? Do you have any tips?

    Thank you once again!

    Thread Starter NCRoma

    (@ncroma)

    Please If I cant get support here at least direct me so I can get this working properly. Thank you

    Thread Starter NCRoma

    (@ncroma)

    I don’t understand, I have cleared all the errors and still I can’t display the information I defined in the meta tags on the share itself… This is the code I currently have on the head.php:

    ?><!DOCTYPE html>
    <html xmlns="https://www.w3.org/1999/xhtml" xmlns:og="https://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml">
    
    <head prefix="og: https://ogp.me/ns# object: https://ogp.me/ns/object#">
    <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
    <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
    <!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
    
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    
    <meta property="og:title" content="<?php the_title(); ?>" />
    <meta property="og:type" content="website" />
    <meta property="og:url" content="<?php the_permalink(); ?>" />
    <meta property="og:site_name" content="<?php bloginfo('name'); ?>" />
    <meta property="og:description" content="<?php echo strip_tags(get_the_excerpt($post->ID)); ?>" />
    <meta property="og:image" content="https://ati.ismt.pt/wordpress/wp-content/uploads/2013/05/ismtLogo2.jpg" />

    Please, I’m in need of help here.

    Thread Starter NCRoma

    (@ncroma)

    I have altered some code on the head.php, I’ve added the lines:

    ?><!DOCTYPE html>
    <html xmlns:fb="https://ogp.me/ns/fb#">
    <head prefix="og: https://ogp.me/ns# object: https://ogp.me/ns/object#">

    The errors from og checker are still the following

    og_namespace_undeclared – Document uses but does not declare the og: namespace. Couldn’t find xmlns:og in the document.
    missing_required_property One or more required properties (og:title, og:type, og:url, og:image) are missing. Technically we are missing all properties, since xmlns:og is undeclared.

    I’m thinking the problem is that the WordPress update messed up with the mentioned declaration. Any ideas? Any help will be apreciated!

    Thread Starter NCRoma

    (@ncroma)

    I did it ??

    php:

    $readable .=  '<li><div class="teste3">';
    $readable .= '<div class="wprssmi-excerpt">'.showexcerpt($items["mydesc"],0,$openWindow,0,$items["mylink"],$adjustImageSize,$float,$noFollow,$items["myimage"],$items["mycatid"]).'</div>';
    
    				$readable .= '<div class="title"><a '.$openWindow.' href='.$items["mylink"].'>'.$items["mytitle"].'</a></div>';

    I just inserted the code you showed me before the title div line. Then, to resolve the container reajustment, I gave the div a name and I made this on the css:

    div.teste3{
    
    	height: 165px;
    	overflow: hidden;
    	    position: relative;
    
    	}

    I fixed a height to the div and pronto! No more visual issue! You can check it out I think it looks really cool and flexible now.

    I’m guessing it is resolved then. Thank you so much for you help and sorry for beeing such a pain ??

    Thread Starter NCRoma

    (@ncroma)

    Resolved! Sadly I am far too into this to go and start all over again in a child theme ?? But next time I’ll know that is the right thing to do! Thanks!

    Thread Starter NCRoma

    (@ncroma)

    On the Vertical Scroll template I added this line

    $readable .= '<p><div class="wprssmi-excerpt">'.showexcerpt($items["mydesc"],0,$openWindow,0,$items["mylink"],$adjustImageSize,$float,$noFollow,$items["myimage"],$items["mycatid"]).'</span></div></p>';

    on top of the title line

    $readable .= '<div class="title"><a '.$openWindow.' href='.$items["mylink"].'>'.$items["mytitle"].'</a></div>';

    Maybe the problem is in the image line?

    Thread Starter NCRoma

    (@ncroma)

    If you can check my website, something weird is hapening. Some times the template is displaying correcly, but other times, it is all messed up, I can’t figure out why.

    Thread Starter NCRoma

    (@ncroma)

    Also, for another page or maybe in the same, Id like to really have an image in the vertical scroll template, but it is prooving to be hard cose it gets all messed up.

    Can you lend a hand?

    Thread Starter NCRoma

    (@ncroma)

    Ok done! What now? Image still below title.

    Thread Starter NCRoma

    (@ncroma)

    k thanks!

    I’m using these rss urls:
    -https://web.ismt.pt/wp/oimtnews/?feed=rss2
    -https://web.ismt.pt/wp/diinews/?page_id=46/?feed=rss2

    But I’m only using the 2 images from the respective categories:
    -https://ati.ismt.pt/wordpress/wp-content/uploads/2013/06/oimt_40.png
    -https://ati.ismt.pt/wordpress/wp-content/uploads/2013/06/did1_40.png

    I’m guessing the problem is that, in the code I gave you earlier, the text excerpt and the image display are glued together in that sentece. Maybe if we split it?

    Thread Starter NCRoma

    (@ncroma)

    https://ati.ismt.pt/wordpress/

    There you go, as I said, the page is blacklisted, but you can go in with no arm done. I will also send you the cose of the template im using:

    $readable .= '<p class="wprssmi_title"><a '.$openWindow.' href='.$items["mylink"].' '.($noFollow==1 ? 'rel=nofollow':'').' style="color:'.$anchorcolor.'">'.$items["mytitle"].'</a></p>';
    $readable .= '<p><div class="wprssmi-excerpt">'.showexcerpt($items["mydesc"],10,$openWindow,0,$items["mylink"],$adjustImageSize,$float,$noFollow,$items["myimage"],$items["mycatid"]).'</span></div></p>';
    Thread Starter NCRoma

    (@ncroma)

    Sir I just adjusted my template height and the title of the feeds are now on bold. Only one problem remaining, I cant move the image to the top without draggin the excerpt with it.

    Will be awaiting your reply, much apreciated.

    Thread Starter NCRoma

    (@ncroma)

    Also, I’ve tried this on the css:

    p.wprssmi_title {
    	    margin: 8px 0 4px;
    	    text-transform: uppercase;
    	font-size:12px;  //change the title font size here
    	font-weight: bold;
    	}

    But I can’t get the title to go bold as I want!

    Thread Starter NCRoma

    (@ncroma)

    Can you help me out in the repositioning of the image and the height of the boxes?

    Thanks!

Viewing 15 replies - 1 through 15 (of 26 total)