raj2005
Forum Replies Created
-
Forum: Plugins
In reply to: [Jigoshop] After Migration TroubleAfter migrating to jigoshop eCommerce, i get an error to say page not found but it still shows the links to the cart page, checkout page, etc.
The link is http://www.chandco2.co.uk/catalogue/
Thanks,
Raj
Forum: Hacks
In reply to: want to link the posts on mywebsite back to it's own website where they liveHi I managed to fix this now for anyone else that may have the same error. I just hardlinked the link:
<?php $mydb = new wpdb('root','','test','localhost'); $rows = $mydb->get_results("select post_title from wp_posts WHERE post_status='publish'"); echo '<ul>'; foreach ($rows as $obj) : ?> <li><a href="http://localhost/database2/2015/11/26/<?php echo $obj->post_title; ?>"><?php echo $obj->post_title; ?></a></li> <?php endforeach; echo '</ul>'; ?>Forum: Hacks
In reply to: want to link the posts on mywebsite back to it's own website where they liveHi Marious,
Thanks for your answer but I don’t want to change the URL for the whole website just those posts on the homepage.
Forum: Plugins
In reply to: [Image Widget] unable to insert mediaI found a solution.
Make sure wordpress owner and group is set to www-data in order to upload media.
Forum: Plugins
In reply to: [Image Widget] unable to insert media@ohemjaye – I don’t have a wp-content file only wp-content folder.
@ Peter Chester – I can only upload images to post from the media library of images that were there before, but when I try to add a new image via the post and actually upload the image i get this error:
The uploaded file could not be moved to wp-content/uploads/2015/09.
Hope someone can help please. Thanks
Forum: Plugins
In reply to: [Image Widget] unable to insert mediaI’m having the same problem. Does anyone have a solution for this?
Thanks
thanks for this guys. I managed to sort it out with Peter’s solution with search and replace.
Ho Peter,
thanks for your reply. Just in case I mess up and store the old database backup back, would things be how they were before?
Sorry I’m new to this.
Thanks,
Raj
Forum: Fixing WordPress
In reply to: Display content only if page is part of specific menu?I’m having a similar problem. I have a specific nav menu called ‘wiki menu’ which is floated left. On the right I have the sidebar content area which is floated right so when you click a link on the left, the content for that would show on the right.
This is what I have so far:
I want to be able to show all the content from the pages which are in my specif ‘wiki menu’. I don’t want content from my main navigation to display.
‘<?php $postid = get_the_ID(); ?>
<?php $the_query = new WP_Query( ‘page_id=38’ ); ?>
<?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?>
<?php the_excerpt(); ?><?php endwhile;?> ‘