Quantcast
Channel: User Matthias Pfefferle - Stack Overflow
Browsing all 24 articles
Browse latest View live

Comment by Matthias Pfefferle on Wordpress's add_action for register_form not...

Where have you used it before?

View Article



Comment by Matthias Pfefferle on how to remove "categories" title from the...

I've updated my comment with the complete code. I tried it on my own installation and it removed the "Categories" part as you requested.

View Article

Comment by Matthias Pfefferle on WordPress RSS Feed from one specific shortcode

If you want to display shortcode stuff only in the feed, read this kovshenin.com/2011/snippet-a-feed-only-shortcode-for-wordpre‌​ss

View Article

Comment by Matthias Pfefferle on Removing social networking links from...

These fields are not part of the core, so they must be added by a plugin. Try to search your plugins or themes for one of the networks and if you now the filter that adds these infos, you can use...

View Article

Comment by Matthias Pfefferle on How to link to index.php from static page in...

I think site_url( "/" ); is what you are searching for. codex.wordpress.org/Function_Reference/site_url

View Article


Comment by Matthias Pfefferle on Pubsubhubub to get "POST" response from the hub

Try to remove the json_decode of the post handler. You should receive a atom/rss entry, so this might be a problem.

View Article

Comment by Matthias Pfefferle on PubSubHubbub Push

you have to print the 'hub_challenge' otherwise the hub will not register your subscriber: pubsubhubbub.github.io/PubSubHubbub/…

View Article

Comment by Matthias Pfefferle on Adding pubsubhubbub link tag to Atom feed

@JulienGenestoux it is directly on the front page: Add an //atom:link tag under //atom:entry for Atom feeds or under //rss:rss/channel for RSS feeds. The //atom:link tag should have rel attribute set...

View Article


Comment by Matthias Pfefferle on Describe a product line with Schema.org

Yes, I would start with schema.org/Product. You can find a Microdata example at the bottom.

View Article


Comment by Matthias Pfefferle on How to implement PubSubHubBub Protocol in php

The "callback" is a URL that is "called" by the PubSubHubbub Hub, so you have to provide the code of your "my callback function" under a different URL. Perhaps this helps: josephsmarr.com/2010/03/01/…

View Article

Answer by Matthias Pfefferle for Embed an Image or Div Tag in Admin Panel...

Have you tried this one?add_action('in_admin_header');or these...add_action('network_admin_notices');add_action('user_admin_notices');add_action('admin_notices');add_action('all_admin_notices');but i...

View Article

Answer by Matthias Pfefferle for How (or should I) markup phone numbers in a...

The first example (tel:) is an RFC standard: http://www.ietf.org/rfc/rfc3966.txt and, as far as I know, there is no "tel" attribute, so i would prefer the tel-URI.

View Article

Answer by Matthias Pfefferle for Adding Mod Rewrite Rules Programmatically in...

You have to "flush" the rewrite rules after you add some changes: http://codex.wordpress.org/Function_Reference/flush_rewrite_rules

View Article


Answer by Matthias Pfefferle for Adding two sidebars in wordpress child theme

You can add both sidebars to the sidebar.php of your childtheme and arrange them per css.// your sidebar<div id="left-sidebar"><?php dynamic_sidebar( 'sidebar-left' );...

View Article

Answer by Matthias Pfefferle for Drop down not populating categories

If echo is set to 1 it will be displayed directly... If you want to return the dropdown to $dropdown, you have to set echo to 0.

View Article


Answer by Matthias Pfefferle for PHP Warning: Missing argument 2 for...

$wpdb->prepare needs at least two params http://codex.wordpress.org/Class_Reference/wpdb#Protect_Queries_Against_SQL_Injection_Attackstry something like that:$wpdb->prepare(" SELECT p.ID,...

View Article

Answer by Matthias Pfefferle for Symfony routing URL works but its wrong

Try to change the route to:show_collection: url: /:module/:action/:collection class: sfDoctrineRoute options: { model: Category, type: object } param: { module: collection, action: showcollection }and...

View Article


Answer by Matthias Pfefferle for WordPress RSS Feed from one specific shortcode

Try this code:function text( $atts, $content = null ) { if (is_feed()) { return $content; } else { return '<div class="text" style="display: block; margin-left:...

View Article

Answer by Matthias Pfefferle for Getting the author name on author archive...

WordPress supports an archive template for that. You simply have to add an author.php file to your theme folder: http://codex.wordpress.org/Author_TemplatesAnd than you can use all author functions...

View Article

Answer by Matthias Pfefferle for How to hCard company information?

To add company informations you have to simply add an org at the same level of the fn of your hCard.Here is example:<div class="vcard"><a class="url fn org" href="http://compa.ny">Company...

View Article
Browsing all 24 articles
Browse latest View live




Latest Images