Ann-Sophie
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Minor CSS problemHi thanks, this works!
But it creates another problem: my corners at the top should be rounded. Don’t understand why they are square again …?Forum: Fixing WordPress
In reply to: Add Feature List JavascriptWow thanks a lot, this is a great help!!
Now the only thing left, is tweaking my CSS layout, but I’ll figure that one out.Thanks a lot keesiemeijer!!
Forum: Fixing WordPress
In reply to: Add Feature List Javascript<?php $pages = get_posts('exclude=19,21,45&post_type=page'); ?> <div id="feature_list"> <ul id="tabs"> <?php foreach($pages as $page) : setup_postdata($page); ?> <li> <a href="javascript:;"> <h3><?php echo $page->post_title; ?></h3> </a> </li> <?php endforeach; ?> </ul> <ul id="output"> <?php foreach($pages as $page) : setup_postdata($page); ?> <li> <?php if ( has_post_thumbnail($page->ID) ) { // check if the post has a Post Thumbnail assigned to it. echo get_the_post_thumbnail( $page->ID, 'large'); } ?> <a href="<?php echo get_permalink($page->ID); ?>" title="<?php echo esc_attr(strip_tags(get_the_title($page->ID))) ?>">Meer informatie ?</a> </li> <?php endforeach; ?> </ul> </div><!-- end feature_list -->
Hope I did this correctly… Links/tabs and images disappear as well.
Forum: Fixing WordPress
In reply to: Add Feature List JavascriptHi keesiemeijer,
yes it’s working indeed, but when I try to exclude these pages, then the whole slideshow disappears ?? and I don’t understand why.
Thanks for everything already!!!
Forum: Fixing WordPress
In reply to: Add Feature List JavascriptYes I copied the code from your example link. It stopped working when I added the
exclude=19,21,45
What is the php code to get the link to the page?
Forum: Fixing WordPress
In reply to: Can't upload to Media libraryThat does work indeed.
Forum: Fixing WordPress
In reply to: Add Feature List JavascriptHi keesiemeijer,
the exclude function doesn’t work. None of the pages is showing now.
The button “Meer informatie” should link to the corresponding page. What function should I use to get the link to that page?And about the script: I added this rule to my head-section:
<script type="text/javascript" src="js/FeatureList.js"></script>
The javascript file is placed in a folder called js. That should work I guess?Forum: Fixing WordPress
In reply to: moving wordpress to the website rootHi,
I used this manual to move my WordPress site: https://codex.www.ads-software.com/Moving_WordPress
Forum: Fixing WordPress
In reply to: Add Feature List JavascriptAlso the javascript doesn’t work, as there is no animation…
I’m not very familiar using Javascript and I’m very new to WordPress, so any help there?Forum: Fixing WordPress
In reply to: Can't upload to Media libraryI set my uploads folder to 777 and now I can upload. Is it safe to use it like that? Any other things to try out?
Forum: Fixing WordPress
In reply to: Unable to create directory /home/…/public_html/wp-content/uploadsI’m having the same problem.
I changed “uploads” to 777 just now and I can upload images.
Don’t know if it’s safe to set it to 777 though.Forum: Fixing WordPress
In reply to: Add Feature List JavascriptThanks it seems to work but I only want certain pages (the ones underneath “Diensten”)
I think those are the only pages that will have a “Featured image” so IF they have a featured image, then they can be displayed in this slideshow.
Or I would like to exclude the following pages ID: 19,21,45
Thanks a lot for the code! As I am no PHP wizard….
Forum: Fixing WordPress
In reply to: Add Feature List JavascriptI thought I’d include this one to get my exact number of pages:
<?php $args = array( 'depth' => 0, 'show_date' => '', 'date_format' => get_option('date_format'), 'child_of' => 0, 'exclude' => '', 'include' => '', 'title_li' => __('Pages'), 'echo' => 1, 'authors' => '', 'sort_column' => 'menu_order, post_title', 'link_before' => '', 'link_after' => '', 'walker' => '' ); ?>
Or how would you advise me to do it?
Forum: Themes and Templates
In reply to: EDIT WORDPRESS THEMEI think you could store these extra information in the custom fields… But indeed, without seeing the site and the e-commerce plugin it’s hard to tell what you need.
Forum: Themes and Templates
In reply to: Easiest way to take a custom HTML template to WP Theme