MrsCassandra
Forum Replies Created
-
Forum: Plugins
In reply to: WP Importer only imports first postI have found another post that gave me some clue about the possible solution.
The issue was likely related with post having the same date and mostly the same pos_id tag.
So it is important that all posts in the xml file have different times (pubDate, wp:post_date, wp:post_date_gmt) and post_id or, as I did, no post_id tag all.
??
Forum: Plugins
In reply to: WP Importer only imports first postIn case it can help this is a sample of the xml code.
<xml version="1.0" encoding="UTF-8"> <rss version="2.0" xmlns:excerpt="https://www.ads-software.com/export/1.2/excerpt/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:wp="https://www.ads-software.com/export/1.2/" > <channel> <wp:wxr_version>1.2</wp:wxr_version> <item> <title>Velvet jacket M</title> <link></link> <pubDate>Mon, 15 Apr 2013 17:34:17 +0000</pubDate> <dc:creator><![CDATA[acreatorname]]></dc:creator> <guid isPermaLink="false"></guid> <description></description> <content:encoded><![CDATA[This is my text. It also includes commas and letters with accets. <img alt="Velvet jacket M" src="https://www.sample.come/files/ximage.jpg" width="300" /> ]]></content:encoded> <excerpt:encoded><![CDATA[Velvet jacket, no sleeves, silver buttons...]]></excerpt:encoded> <wp:post_id>1</wp:post_id> <wp:post_date>2013-04-15 17:34:17</wp:post_date> <wp:post_date_gmt>2013-04-15 17:34:17</wp:post_date_gmt> <wp:comment_status>closed</wp:comment_status> <wp:ping_status>closed</wp:ping_status> <wp:post_name>velvet-jacket-m</wp:post_name> <wp:status>publish</wp:status> <wp:post_parent>0</wp:post_parent> <wp:menu_order>0</wp:menu_order> <wp:post_type>post</wp:post_type> <wp:post_password></wp:post_password> <wp:is_sticky>0</wp:is_sticky> <category domain="category" nicename="jackets-and-coats"><![CDATA[Jackets and Coats]]></category> <wp:postmeta> <wp:meta_key>Model</wp:meta_key> <wp:meta_value><![CDATA[X10]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key>Quantity</wp:meta_key> <wp:meta_value><![CDATA[1]]></wp:meta_value> </wp:postmeta> <wp:postmeta> <wp:meta_key>Price</wp:meta_key> <wp:meta_value><![CDATA[60.0000]]></wp:meta_value> </wp:postmeta> </item> </channel> </rss>
Forum: Themes and Templates
In reply to: Add sidebar to Twentyeleven child themeLOL!!! I should sleep more at night!!!
I’m very sorry for having bothered you!!! It was so obvious that I just did not think about it!!
Thank you so much!!!
I really just had to add the code in sidebar-footer.php
Don’t ask me why I did not…
Sorry again!! and many many thanks for your help!!! ??
Forum: Themes and Templates
In reply to: Add sidebar to Twentyeleven child themeHi,
thank you for the reply.
Yes I’ve added the css style for it and the class “four” is showing in the HTML code of the page.
The footer of the child theme shows the three footer sidebars just with
get_sidebar( 'footer' );
so what I was hoping to achieve is just to add a fourth sidebar to this function through the functions.php file so that I do not have to call every single sidebar in the footer using other functions.Is this possible?
Forum: Fixing WordPress
In reply to: Internal Server Error with wp-admin page after using permalinksYou may have a permissions problem.
Your .htaccess seems fine.
I had a similar issue and fixed it only restoring the folders permissions.
I have been lucky as my provider’s control panel has a feature that does just that (restoring all permissions). If you have not a similar option, you may have to restore it manually.
Forum: Fixing WordPress
In reply to: Dashboard works but the website doesn't (Internal Server Error)In case anybody else has a similar problem (even an opposite one, where you can see your website but not the admin area), the problem is due to folders permissions.
You need to restore/repair the folders permissions of your website.
My hosting provider has a feature that does this, if yours doesn’t then you need to check the permissions of your folders and try to restore them as they should be. Or you have to reinstall everything (deleting all folders, otherwhise you will have the same problem).
Forum: Fixing WordPress
In reply to: Can't preview posts in Wp 3.2.1Hi,
I had a very similar problem and finally fixed it only restoring/repairing all permissions of all folders in the website.
Fortunately my hosting provider offers a feature that does exactly this task automatically.
Have a look if your provider has a similar feature or check permissions.
Forum: Fixing WordPress
In reply to: How to protect WordPress RSS Feed correctly?Try and have a look here https://seoperth.net.au/remove-specific-category-posts-wordpress-rss-feed/
I did not read it all or try it, but is worth to have a look ??
Forum: Fixing WordPress
In reply to: How to protect WordPress RSS Feed correctly?You can add the following code at the end of your functions.php file in the themes folder:
/* REMOVE FEEDS */
add_action(‘do_feed’, ‘fb_disable_feed’, 1);
add_action(‘do_feed_rdf’, ‘fb_disable_feed’, 1);
add_action(‘do_feed_rss’, ‘fb_disable_feed’, 1);
add_action(‘do_feed_rss2’, ‘fb_disable_feed’, 1);
add_action(‘do_feed_atom’, ‘fb_disable_feed’, 1);function fb_disable_feed() {
wp_die( __(‘No feed available, please visit our homepage!’) );
}