tomslattery
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Displaying Custom FieldsI’m going a layer deeper: I would like to lead into the data with “List Price: “
So I did this:
<span style=”font-weight: bold”>List Price:</span>
<?php //get list_price (custom field) ?>
<?php $list_price = get_post_meta($post->ID, ‘list_price’, true); ?>
<?php echo $list_price; ?>Only problem with that is that every post will have that text in it whether or not the data shows up.
Is there a way to say “only display this text if there is data there”?
Thanks!
~TPSForum: Fixing WordPress
In reply to: Displaying Custom FieldsThat worked. Thanks!
Forum: Plugins
In reply to: Intranet & SpreadsheetsMy initial test of the CSV importer concept has proven to be very useful. However, most of the fields I am importing become custom fields which do not display on the post.
Where my ‘post’ field is the product number, the additional fields deal with pricing and related information to that particular product.
I’m wondering how to get that additional information visible in the post.
Thanks!
~TPSForum: Fixing WordPress
In reply to: Using WP On a Local IntranetIf I may add another layer to this…
Your advice above helped me out as well (thanks!). I am able to access the site through all of the PCs on my network, but my Mac will not connect to that address.
The address that I’m using is:
http://intranet-test/wordpress/
http://(computer-name)/(sharename)/My thought was that a URL should work no matter what platform is being used.
Thanks!
~TPS