I did a quick search but couldn't find the solution here, forgive me if this has been asked before.
I remember a way to add vars in a Wordpress post by adding something like [gallery=22] in the wysiwyg editor... anybody know where I can find the documentation on this?
Thanks.
That's the Shortcode API - http://codex.wordpress.org/Shortcode_API
Related
I was wondering if it was possible to use the advanced custom fields - wysiwyg editor as the default editor for the main content and let yoast read that instead of the default?
Or if that isn't possible then if it is somehow possible to dublicate the content from acf to the main editor.
Or if there is any other way please help.
Thanks
This answer is a bit slow in coming, but we had the same exact question and decided to build a plugin to do this:
http://wordpress.org/plugins/ns-seo-custom-fields/
We just released it and found others looking for a solution like this question and hope that it's helpful to the great WP community.
There are a couple of solutions you can work with.
If you search for Yoast and ACF on the plugin directory you can find the one you like best: https://wordpress.org/plugins/search.php?q=yoast+ACF
We have a plugin of our own: https://wordpress.org/plugins/yoast-seo-acf-analysis/
Which is open source, so if you find any problems or think of enhancements you can create an issue at the github project: https://github.com/Yoast/yoast-acf-analysis
Hope this helps you.
Jip from Yoast
I'm creating a site where rarely, but it will happen, I will have a guest author. I looked at plugin for author boxes and none are basic enough for my needs.
I'm creating some basic CSS styles and hard coding an author box for those few times I need to worry about this.
What code would I put in a post to pull an avatar based on an email address? Seems like this is possible with a small snippet of php. Is there an easy way to create a shortcode to do it for me? I've only dabbled in WordPress modifications.
Thanks.
What I would do is use the Shortcode API:
http://codex.wordpress.org/Shortcode_API
With this, you can register a shortcode like
[author_avatar]
This shortcode would be simple, it would just use get_avatar()
http://codex.wordpress.org/Function_Reference/get_avatar
Based on the Shortcode API, you could essentially pass parameters through the shortcode, example:
[author_avatar email="author.name#domain.com" size="32"]
Than use wp_enqueue_style() to pull in your css
http://codex.wordpress.org/Function_Reference/wp_enqueue_style
I apologies for being brief I hope this is useful.
for a little votingtool i'm looking for a solution.
the visitor can give a comment on a page. if the editor approves the comment, it should automatically published as a post in a specific category. any ideas how to solve this problem, any startingpoint for me? a plugin?
G'Day efendi, a possible plugin as a starter is SEO Super Comments. This plugin converts all comments to their own dynamic page. At the very least it should give you some coding ideas.
I'm trying to make a directory theme with WordPress, and i want the user to be able to write a post without being inside the admin.
I can't seem to find any information about if this is possible.
Does anyone know how i could make it?
Thanks
Have you looked into the XML-RPC support in WordPress?
Wordpress has something called XML-RPC, in Settings -> Writing. I've used it in the past for remote posting, take a look :
http://codex.wordpress.org/XML-RPC_wp
Try TDO Mini Forms
http://wordpress.org/extend/plugins/tdo-mini-forms/
You could create a form using the wp_insert_post function.
I would like to get some ideas what's the best way to implement/integrate a Email Subscription Form for a wordpress theme i'm building. The form I'm referring is similar to this (www.babyyu.com) and (smashingmagazine.com).
Thanks!
Have you checked out some of the existing plugins at http://wordpress.org/extend/plugins/ ? There are quite a few available that do what you are looking for.
I asked the same question here:
Adding email subscription to Wordpress theme
Maybe between the two of us we'll be able to get a proper answer.
#jswat: Could you please elaborate on the appropriate plugins to download. Yes we know Wordpress has a lot of available plugins and we know the site to find them. But I believe a better answer would be to list the plugins that would accomplish this functionality.
Thanks