downfast
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom post thumbnails not using custom sizesoh i see why you’ve asked that.. let me try different sizes then
Forum: Fixing WordPress
In reply to: Custom post thumbnails not using custom sizesi think so yeah, why?
Forum: Fixing WordPress
In reply to: Custom post thumbnails not using custom sizesyeah I did try that too before with no luck, I get an image with width: 560 and height: 360 for example, why would I if I did not set any size like that? It’s like setting the correct height to proportionally display the image instead of cropping it with my defined sizes, I don’t get it
Forum: Fixing WordPress
In reply to: Custom post thumbnails not using custom sizesHi thanks, I get this tho:
Parse error: syntax error, unexpected T_DOUBLE_ARROW in …/functions.php on line 7
Forum: Fixing WordPress
In reply to: How to embed vimeo using advanced custom field?<iframe src="http://player.vimeo.com/video/<?php the_field('vimeo'); ?>?title=0" width="350" height="300" frameborder="0"></iframe>';Forum: Plugins
In reply to: eShop 6.2.2 – shipping understanding of automatic calculationI can’t link to it as I’m on localhost but this is a screen grab:
http://www.robertomarras.com/download/1.jpg
as you can see I have the table of zones, I have noticed that if i select one of them and then I click to check out, the shipping costs will be added.
My questions are 2 now:
1: How can I hide those tables as the user won’t know what a zone is and i don’t want to show them the zone or shipping rates? At the moment even if i Hide with css the tables I can’t checkout until I select one of them with the checkbox.
2: Is it possible to show the shipping cost at this stage added in a row within the costs fields as it will happen in the next stage when we check out? Also perhaps have drop down with a country select list so that this shipping cost will be automatically calculated and the costs text field updated?
Many thanks
Forum: Plugins
In reply to: eShop 6.2.2 – shipping understanding of automatic calculationon the checkout page it says:
* Denotes Required Field (Shipping Rates)
Please Choose shipping*
Total weight: 3.00 kg
checkbox(Shipping Zones by Country)but shipping cost added to the costs fields nor i have any drop down to select my country and calculate the shipping costs
Forum: Plugins
In reply to: eShop 6.2.2 – shipping understanding of automatic calculationwell, i add a product to my cart, click on proceed to checkout and no shipping cost is displayed on the table of the price.
So there is something I am doing wrong, also on the checkout page I should be having a drop down where I can select the country I am in so that it automatically calculates and updates the shipping cost (which as I said is currently not even showing on the initial checkout page)
Not sure what to do
Forum: Fixing WordPress
In reply to: post_thumb to link to its post?Fixed.
$parent = 6; $args=array( 'child_of' => $parent ); $pages = get_pages($args); shuffle($pages); if ($pages) { $pageids = array(); foreach ($pages as $page) { $pageids[]= $page->ID; $title = get_the_title($page->ID); $link = get_page_link($page->ID); } echo get_the_post_thumbnail($page->ID); echo "<a href='$link'>$title</a>"; } ?>Forum: Fixing WordPress
In reply to: post_thumb to link to its post?did you forget to close any tags? gives me an error π
Forum: Fixing WordPress
In reply to: post_thumb to link to its post?it is, this is the full code actually:
<ul> <?php $parent = 6; $args=array( 'child_of' => $parent ); $pages = get_pages($args); shuffle($pages); if ($pages) { $pageids = array(); foreach ($pages as $page) { $pageids[]= $page->ID; } echo get_the_post_thumbnail($page->ID); } ?> </ul>ideally i would like to show the post title of that thumb as well and both the title and the thumb to be a link to its post
Forum: Fixing WordPress
In reply to: post_thumb to link to its post?yes this is the whole code actually
<ul> <?php $parent = 6; $args=array( 'child_of' => $parent ); $pages = get_pages($args); shuffle($pages); if ($pages) { $pageids = array(); foreach ($pages as $page) { $pageids[]= $page->ID; } echo get_the_post_thumbnail($page->ID); } ?> </ul>Forum: Fixing WordPress
In reply to: How to get a single random sub page?found it.
<ul> <?php $parent = 6; $args=array( 'child_of' => $parent ); $pages = get_pages($args); shuffle($pages); if ($pages) { $pageids = array(); foreach ($pages as $page) { $pageids[]= $page->ID; } echo get_the_post_thumbnail($page->ID); } ?> </ul>Forum: Fixing WordPress
In reply to: Use post thumb in any page?Hi
this gives me all the the sub pages of the current page with id6.
<ul> <?php $pages = $parent = 6; $args=array( 'child_of' => $parent ); $pages = get_pages($args); if ($pages) { echo get_the_post_thumbnail($page->ID); $pageids = array(); foreach ($pages as $page) { $pageids[]= $page->ID; } echo get_the_post_thumbnail($page->ID); wp_list_pages($args); } ?> </ul>How can I do so that I get only 1 random sub page of all the sub pages of page id6?
Forum: Fixing WordPress
In reply to: Use post thumb in any page?brilliant thanks. I’ll try it.