Elías
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: tengo un problema de iconosBuenas.
Podrías dejarnos la dirección de tu dominio o una captura de pantalla?
Un saludo
Forum: Plugins
In reply to: [Posts 2 Posts] nested relationship posts2postOk! I’ve just seen this part:
I don't know how to implement via coding
. If you still need some help, maybe I can assist you.Forum: Plugins
In reply to: [Posts 2 Posts] nested relationship posts2postDuplicate
Forum: Plugins
In reply to: [Posts 2 Posts] Is this plugin still actively developed?It has been updated this month. It is not actively developed by its original author, but seems that it is maintained somehow by other people. Maybe not with new functionalities, but at least with bugfixes (see the changelog).
I think this plugin uses very basic WordPress principles (WP_Query, filters, the post IDs…), so it should be working for long time, I think.
Forum: Plugins
In reply to: [Posts 2 Posts] nested relationship posts2postYou can get all the Therapies connected to the Doctor, and then make a secondary loop through every Therapy to get their articles, and show them.
Forum: Plugins
In reply to: [Post Type Archive Link] Warning on adding a linkThanks! By now I’m using this snippet:
/** * CPT archives en los Menus de Apariencia. */ add_action( 'admin_head-nav-menus.php', 'inject_cpt_archives_menu_meta_box'); function inject_cpt_archives_menu_meta_box( $object ) { add_meta_box( 'add-cpt', __( 'CPT Archives' ), 'wp_nav_menu_cpt_archives_meta_box', 'nav-menus', 'side', 'default' ); return $object; /* pass */ } /* render custom post type archives meta box */ function wp_nav_menu_cpt_archives_meta_box() { /* get custom post types with archive support */ $post_types = get_post_types( array( 'show_in_nav_menus' => true, 'has_archive' => true ), 'object' ); /* hydrate the necessary object properties for the walker */ foreach ( $post_types as $post_type ) { $post_type->classes = array(); $post_type->type = $post_type->name; $post_type->object_id = $post_type->name; $post_type->title = $post_type->labels->name . ' ' . __( 'Archive', 'default' ); $post_type->object = 'cpt-archive'; } $walker = new Walker_Nav_Menu_Checklist( array() ); ?> <div id="cpt-archive" class="posttypediv"> <div id="tabs-panel-cpt-archive" class="tabs-panel tabs-panel-active"> <ul id="ctp-archive-checklist" class="categorychecklist form-no-clear"> <?php echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', $post_types), 0, (object) array( 'walker' => $walker) ); ?> </ul> </div><!-- /.tabs-panel --> </div> <p class="button-controls"> <span class="add-to-menu"> <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> <input type="submit"<?php disabled( $nav_menu_selected_id, 0 ); ?> class="button-secondary submit-add-to-menu" value="<?php esc_attr_e('Add to Menu'); ?>" name="add-ctp-archive-menu-item" id="submit-cpt-archive" /> </span> </p> <?php } add_filter( 'wp_get_nav_menu_items', 'cpt_archive_menu_filter', 10, 3 ); function cpt_archive_menu_filter( $items, $menu, $args ) { /* alter the URL for cpt-archive objects */ foreach ( $items as $item ) { if ( $item->object != 'cpt-archive' ) continue; $item->url = get_post_type_archive_link( $item->type ); } return $items; }
Forum: Plugins
In reply to: [YOP Poll] Is there a way to order the answers randomly?Ok so, the only way to order the answers is manually by drag and drop on the admin, isn’t it? Thanks!
Forum: Plugins
In reply to: [WP Open Graph] Install gives me this errorMe too!
Forum: Plugins
In reply to: [Code Snippets] Version 2.0 won't save a new snippetFortunately I know how to delete tables from database, but what about people that doesn’t knoW? Very worrying ??
Edit: Updating to 2.0.1 solved the problem for me.
Forum: Plugins
In reply to: [FancyBox for WordPress] Unexpected code in my page when pluggin is activatedI have the same problem. My antivirus has notified to me that my site had a virus. After testing with the plugins, I detected that this one was the cause. I will try another one for the being.
Forum: Plugins
In reply to: [Post Type Archive Link] Warning on adding a linkI have access to the WordPress dashboard, but I don’t have to the server software ??
Forum: Plugins
In reply to: [Post Type Archive Link] Warning on adding a linkI just wanted to have CPT Archives available in the custom menus screen. I was testing some plugins, and since this one was not working for me, I wanted to mark it on the compatibility widget, on the Plugin page. The page suggested me to open a topic, so I did it ^^
I found another that just works. I don’t know about PHP or anything, so I think you can do it without that error as well the other plugins, isn’t it?
Thanks for your reply!
Forum: Plugins
In reply to: [Posts 2 Posts] Admin connection search boxI see something strange: the parameter
reciprocal
seems to be appropriate when on both sides of the connection, at least one of the post types is repeated: https://github.com/scribu/wp-posts-to-posts/wiki/Reciprocal-connectionsMaybe is an error with that?
Forum: Plugins
In reply to: [Posts 2 Posts] Future Post and relationFibiuz, the type of post for a connection is defined when creating the connection.
Good solution Ben, one date for the post itself, and another for the date of the event.
Forum: Plugins
In reply to: [Posts 2 Posts] Future Post and relationHi Fibiuz.
I’m not the developer of the plugin, ?I wish!
Since I am simply a apprentice on PHP and I only get things working with a lot of reading and testing. I only can refer you to my previous messages on this thread, I can’t help anymore, I’m sorry ??
Well, I can leave here the URL for the filters sections on the documentation
Good luck!