Ale Urrutia
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Empty feedSolved!
Not sure what happened but after activating Twenty Sizteen amd reactivating my own Theme the items show at the feed.
Thanks Rajan for your help!
Forum: Fixing WordPress
In reply to: Empty feedSorry, the CPT is ‘portfolio’ not ‘works’.
Support editor is not an option on my theme.
the code for the CPT:
#-----------------------------------------------------------------# # Create admin portfolio section #-----------------------------------------------------------------# function portfolio_register() { $portfolio_labels = array( 'name' => __( 'Portfolio', 'taxonomy general name', NECTAR_THEME_NAME), 'singular_name' => __( 'Portfolio Item', NECTAR_THEME_NAME), 'search_items' => __( 'Search Portfolio Items', NECTAR_THEME_NAME), 'all_items' => __( 'Portfolio', NECTAR_THEME_NAME), 'parent_item' => __( 'Parent Portfolio Item', NECTAR_THEME_NAME), 'edit_item' => __( 'Edit Portfolio Item', NECTAR_THEME_NAME), 'update_item' => __( 'Update Portfolio Item', NECTAR_THEME_NAME), 'add_new_item' => __( 'Add New Portfolio Item', NECTAR_THEME_NAME) ); global $options; $custom_slug = null; if(!empty($options['portfolio_rewrite_slug'])) $custom_slug = $options['portfolio_rewrite_slug']; $portolfio_menu_icon = (floatval(get_bloginfo('version')) >= "3.8") ? 'dashicons-art' : NECTAR_FRAMEWORK_DIRECTORY . 'assets/img/icons/portfolio.png'; $args = array( 'labels' => $portfolio_labels, 'rewrite' => array('slug' => $custom_slug,'with_front' => false), 'singular_label' => __('Project', NECTAR_THEME_NAME), 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, 'hierarchical' => false, 'menu_position' => 9, 'menu_icon' => $portolfio_menu_icon, 'supports' => array('title', 'editor', 'thumbnail', 'comments', 'revisions') ); register_post_type( 'portfolio' , $args ); } add_action('init', 'portfolio_register');
The code for feed:
if(function_exists('add_theme_support')) { add_theme_support('automatic-feed-links'); }
Forum: Fixing WordPress
In reply to: Empty feedYes Rajan, ‘works’ is a custom post type and I added it to the feed with the following code:
function myfeed_request($qv) { if (isset($qv['feed']) && !isset($qv['post_type'])) $qv['post_type'] = array('post', 'page', 'portfolio'); return $qv; } add_filter('request', 'myfeed_request');
support editor? probably no.
Forum: Plugins
In reply to: [Meta Box] Display Post value on TemplateSolved here.
Found the solution here Thanks!
Forum: Plugins
In reply to: [WeChat Subscribers Lite 微信公众订阅号插件] 请求URL超时错误I have the same problem, every time I get 请求url超时
Forum: Plugins
In reply to: [qTranslate X] WordPress dashboard menu issueHi Gunu,
We are using qTranslate-X Version 3.2.2
Forum: Plugins
In reply to: [Download Monitor] [Plugin: WordPress Download Monitor] Blank pageThanks ScreenfeedFr, now′s working again!
Forum: Plugins
In reply to: [Download Monitor] [Plugin: WordPress Download Monitor] Blank pageSame problem for me using WP 3.4.1 and DM 3.3.5.7
Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] No links after updateDidn’t note that other plugin, now it′s fixed! Thanks!
Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] No links after updateHi CHris, thanks fro replying.
Actually can’t remember which was the version, probably was the previous one.
Regards.
Forum: Plugins
In reply to: [Yoast SEO] Duplicate titleFor example <title><?php wp_title(‘?’, true, ‘right’); ?> <?php bloginfo(‘name’); ?></title>
bloginfo can be the reasonThanks arni, that’s the reason!
To fix just use:
<title><?php wp_title(''); ?></title>
Forum: Plugins
In reply to: Use permalink value in jquerySorry, I just realized I posted on “PLugins and Hacks” forum, please delete this thread, I will post it again.
Forum: Plugins
In reply to: [Plugin: Custom Post Type UI] 404 error – permalink not workI stopped using the plugin and created the CPT by my own on the functions.php, so no idea about an improvement on the plugin.
And yes, should affect performance for sure, but my site is little and not so visited… works good for me now.
Forum: Plugins
In reply to: [Plugin: Custom Post Type UI] 404 error – permalink not worknot a genius, just found somewhere on this forum, glad to help.