greencode
Forum Replies Created
-
Forum: Plugins
In reply to: [Twitter Widget Pro] Removing authenticated Twitter accountIf you know what you’re doing in your database, you can search for that twitter username and then delete it that way. That’s what I’ve just had to do.
Forum: Plugins
In reply to: [Custom Post Type UI] Taxonomy templatesAh ha, figured it out. Me being a bit silly. I needed to add the taxonomy title as well. So it would be something like mysite.com/helptypes/advice
Forum: Plugins
In reply to: [Author Avatars List/Block] Link to user websiteOoh eeek. I’m no developer so I may have to think of another way of doing this. Maybe using this plugin http://wordpress.org/extend/plugins/visual-biography-editor/ in order to add the url direct to their bio. Not ideal as you are stuck with positioning it within the bio area.
Forum: Plugins
In reply to: [Author Avatars List/Block] Link to user websiteHi, Really appreciate you getting back to me. I was hoping to display the author’s website url after their bio as well as link to it. The above shortcode only provides a link from the avatar as far as I can tell?
Forum: Plugins
In reply to: [Custom Post Type UI] WPML and Custom Post Type UIWill do. I’ve heard back from WPML once who said there were no issues with compatibility between the two plugins but I mentioned that there was i.e. the slugs do not end up in the string translations, as well as a number of other strings.
Forum: Plugins
In reply to: [Custom Post Type UI] WPML and Custom Post Type UII’m currently in talks with WPML so I’ll report back with their findings. There are certain strings that are getting translated but others that are not.
I’m in need of this repeating group functionality too MacItaly. I totally understand that compatibility with the latest version of WP takes priority but I do think repeating groups is a very basic need for a custom field plugin. I would happily pay for an addon that allows the use of repeating fields, like other plugins do i.e. Advanced Custom Fields.
Sorry to hijack the thread but I see you mention that you’ll have a nice interface for repeating fields. Do you plan, anytime soon, for the ability to repeat groups of fields. I find this a massive problem in the current Type plugin and I’m having to use other custom post types in order to solve these needs.
If I have a slider whereby I have an image and caption then I would need these to be in a repeating group so I could add as many slides and captions to a slider as I required.
Would love to hear your thoughts on this Amir.
Forum: Fixing WordPress
In reply to: Where is en_US coming from?How? There is no en_GB available?!
Sorry, I’ve not looked at this since I last posted as the client doesn’t require multilingual functionality just yet.
Is the problem that you are getting that the previous/next just cycle through all posts and not just those in the selected category?
Forum: Fixing WordPress
In reply to: Page array not workingI managed to get this to work…
<?php $key = get_post_meta($post->ID, 'page_id', true); $key = explode(',', $key); function trim_value($value) { $value = (int)trim($value); } array_walk($key, 'trim_value'); $myposts = get_posts(array('post_type' => 'page', 'post__in' => $key, 'showposts' => -1, 'orderby'=> date, 'order'=> DESC)); foreach($myposts as $post) : setup_postdata($post); ?> <h2><?php the_title() ?></h2> <?php endforeach; ?>Forum: Fixing WordPress
In reply to: Page array not workingThanks again. I just realised that I asked a similar question on here over 2 years ago but I can’t for the life of me get this to work in a query posts function
<ul> <?php $key = get_post_meta($post->ID, 'page_id', true); $key = explode(',', $key); function trim_value(&$value) { $value = (int)trim($value); } array_walk($key, 'trim_value'); $myposts = get_posts(array('post__in' => $key, 'posts_per_page' => -1)); foreach($myposts as $post) : setup_postdata($post); ?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endforeach; ?> </ul>I’d like the above code to work in this format:
<?php // My query here ?> <?php while (have_posts()) : the_post(); ?> <p><?php the_title() ?></p> <?php endwhile;?>Forum: Fixing WordPress
In reply to: Page array not workingBlimey! Thanks for that but I have got absolutely zero idea where to start with exploding stuff.
Forum: Fixing WordPress
In reply to: Page array not workingI used this instead
<?php $not_pages = get_post_meta($post->ID, "page_id"); print_r($not_pages); $args = array( 'post_type' => 'page', 'post__in' => $not_pages ); query_posts($args); ?>But I get the following on the page:
Array ( [0] => 363, 365 )
Title of pageForum: Fixing WordPress
In reply to: Page array not workingGetting a syntax error:
Parse error: syntax error, unexpected ';', expecting ')' in /home/mysite/public_html/site/wp-content/themes/toolbox/template-collection.php on line 20