freeriders
Forum Replies Created
-
thank for the reply marcanor, yes technically it works, I was just wondering if there was a better way to do it
cheers
searching a bit more via mysql, I came accross a solution by using those hooks
update_post_meta($post_id,'_yoast_wpseo_opengraph-title',$title); update_post_meta($post_id,'_yoast_wpseo_opengraph-description',$content); update_post_meta($post_id,'_yoast_wpseo_opengraph-image',$image);do you think that is the smartest way to do it?
thank you in advance
Forum: Fixing WordPress
In reply to: post to Facebook from a update hookHi Konstantinos
thank you very much for your input, it’s very valuable.. I will also investigate in this direction
cheers
Forum: Fixing WordPress
In reply to: post to Facebook from a update hookForum: Fixing WordPress
In reply to: post to Facebook from a update hookyes this is what I am trying to do, thank for the hint Tor
Forum: Fixing WordPress
In reply to: post to Facebook from a update hookThank again tor
I will have a look at the script, on how it handles the facebook posting
but currently what I am searching is firing a function when I use the submit button in a function like
function grkwm_options_page( ) { ?> <form action='options.php' method='post'> <h2>Kite Maguelone Settings</h2> <?php settings_fields( 'kwmPluginPage' ); do_settings_sections( 'kwmPluginPage' ); submit_button(); ?> </form> <?php }thanks
Forum: Fixing WordPress
In reply to: post to Facebook from a update hookThanks Tor for your fast answer.
I understand the iframe for facebook, but what I look for is to create a new post on facebook each time I change the value of the option
Thanks for your time
Forum: Networking WordPress
In reply to: Network adminHi Mika
Here again you are the one who saved me !!!!
Thank you very much, your blog post is all what I need
You are Queen !!!
Forum: Networking WordPress
In reply to: Network adminThank you wslade but I can’t see your answer
could you please post it again
thanks
Forum: Networking WordPress
In reply to: Multisite top domaine changeok I will do that, exept that, I have the process right?
thank you again
Forum: Fixing WordPress
In reply to: Custom Post Type and custom taxonomies URLthank you keesiemeiker
I have follow your advise
my cpt now looks likefunction gr_create_my_post_types() { // creating (registering) the custom type register_post_type( 'portfolio', /* (http://codex.wordpress.org/Function_Reference/register_post_type) */ // let's now add all the options for this post type array('labels' => array( 'name' => __('Portfolio', 'grd2012'), /* This is the Title of the Group */ 'singular_name' => __('Portfolio Item', 'grd2012'), /* This is the individual type */ 'all_items' => __('All Items', 'grd2012'), /* the all items menu item */ 'add_new' => __('Add New item', 'grd2012'), /* The add new menu item */ 'add_new_item' => __('Add New Portfolio', 'grd2012'), /* Add New Display Title */ 'edit' => __( 'Edit', 'grd2012' ), /* Edit Dialog */ 'edit_item' => __('Edit Item in portfolio', 'grd2012'), /* Edit Display Title */ 'new_item' => __('New Item', 'grd2012'), /* New Display Title */ 'view_item' => __('View Itemo', 'grd2012'), /* View Display Title */ 'search_items' => __('Search Portfolio', 'grd2012'), /* Search Custom Type Title */ 'not_found' => __('Nothing found in the Database.', 'grd2012'), /* This displays if there are no entries yet */ 'not_found_in_trash' => __('Nothing found in Trash', 'grd2012'), /* This displays if there is nothing in the trash */ 'parent_item_colon' => '' ), /* end of arrays */ 'description' => __( 'Listing of all my jobs', 'grd2012' ), /* Custom Type Description */ 'public' => true, 'publicly_queryable' => true, 'exclude_from_search' => false, 'show_ui' => true, 'query_var' => true, 'menu_position' => 3, /* this is what order you want it to appear in on the left hand side menu */ 'menu_icon' => get_stylesheet_directory_uri() . '/library/images/custom-post-icon.png', /* the icon for the custom post type menu */ 'rewrite' => array( 'slug' => 'portfolio', 'with_front' => false ), /* you can specify it's url slug */ 'has_archive' => 'portfolio', /* you can rename the slug here */ 'capability_type' => 'post', 'hierarchical' => true, /* normalement il est set a false, mais j'essaye pour faire page*/ /* the next one is important, it tells what's enabled in the post editor */ 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'custom-fields', 'comments') ) /* end of options */ ); /* end of register post type */I have created the page/post type within portfolio cpt
so I have got now something showing up at
http://portfolio.newdawnmedialtd.com/portfolio/type/I have 3 questions :
1° I can’t see the page attribut box, so I can’t select a template
to defeat that probleme I have done a template by the id page-40.php (40 is the id of my post (page?) type.. this does not work .. even with the change I did on my cpt (hierarchical true) I’m not too sure this behave like a page.. I only have the content of the post showing up2° now this post (page?) is listed in my portfolio listing (archive-portfolio.php), does that mean that I will have to exclude that post from the is archive page? so I will have to rewrite a custom query there too? that defeat a bit the purpose of the archive name based no?
3° when I read the template hierarchy documentation
http://codex.wordpress.org/images/1/18/Template_Hierarchy.png
I thought that a simple taxnomy-portfolioJobTypes.php would have handle it, so I don’t really understand the purpose of taxonomy-$taxonomy.phpthank you in advance for all your help
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] : WP Build in mail functionok thank you takayuki I will investiga on the wp_mail function
cheersForum: Networking WordPress
In reply to: error message at domaine mapping configurationbingo !!!
Forum: Networking WordPress
In reply to: error message at domaine mapping configurationHi Andrea
yes you are double right, they were only notice.. please forgive me
about yer french,I’m impressed… you might talked as you described it, but you wrote it in a perfect french without any grammatical or spelling mistakes. it is just that we would not say it that way, actually in english we say something that would be translated like ‘I speak french like a spanish cow’ ehehehe
Thank you again
Forum: Networking WordPress
In reply to: error message at domaine mapping configurationHi Andrea
god dam, you are right and I’m an idiot
yes it was debug on !!!
I put debug off and it has no insanity (eheheh)
anyway, is that normal it throw that kind of error?
Thank you again Andrea and Sorry Ipstenu to have been that stupid