Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Montezuma Head Not work meta tags


 
Prev Previous Post   Next Post Next
  #1  
Old Dec 20, 2012, 07:50 AM
darkcrizt's Avatar
darkcrizt
 
6 posts · Dec 2012
Unhappy [solved]Montezuma Head Not work meta tags

Hi I tried to add the meta tags to the header of wordpress, the problem with that is I am trying to define the description with the extract of the entry, checking the source code does not show me anything leaving the field blank.

There will be some solution to this, I have tried several methods and the result is the same as testing with different codes show here.
HTML Code:
<meta name="description" content="<?php bfa_excerpt( 40, ' ...' ); ?>" />
<meta property="og:type" content="article" />
<meta property="og:url" content="<?php the_permalink(); ?>" />
<meta property="og:title" content="<?php the_title(); ?>" />
<meta property="og:description" content="<?php the_excerpt(); ?>" />
<meta itemprop="url" content="<?php the_permalink(); ?>" />
<meta itemprop="name" content="<?php the_title(); ?>" />
<meta itemprop="description" content="<?php bfa_excerpt(40, 'text???' ); ?>" />
<meta name="twitter:card" value="summary" />
<meta name="twitter:url" value="<?php the_permalink(); ?>" />
<meta name="twitter:title" value="<?php the_title(); ?>" />
<meta name="twitter:description" value="<?php bfa_excerpt(); ?>" />
I have had other problems in a matter of inserting code to the topic, I realize that the subject is very limited with php to limit to a few functions.
It would be good that this limitation of the subject removed to insert php code freely.
Attached Thumbnails
Click image for larger version

Name:	estamosjodios.png
Views:	1942
Size:	75.9 KB
ID:	2137  

Last edited by darkcrizt; Dec 21, 2012 at 09:22 AM. Reason: solved
 

Bookmarks

Tags
limited code, meta tags, php, wordpress

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Montezuma/Woocommerce - pages rendering w/out <head> or meta data. DoverTim Montezuma Theme 12 Feb 18, 2013 04:41 AM
Montezuma.pot doesn't work luarcito Montezuma Theme 3 Nov 6, 2012 06:02 AM
Montezuma Dropdown does not work Zoidberg Montezuma Theme 1 Nov 2, 2012 02:27 PM


All times are GMT -6. The time now is 04:18 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.