Pablo Bra
Forum Replies Created
-
AuthorPosts
-
Exact !
As I told you I dropped the idea of overriding GD widget
Im creating a custom widget to display listings, but I couldn’t find any GD api to grab raw content.
Example:
– <?php the_title(); ?> displays title without any html only text and this is what I want to achieve for other content.How can I call the content like address, category, rating stars… without any html ?
Thank you guys
Paolo, the problem is that i need to edit HTML to use my layout
I can’t achieve what I want simply with CSS.As i told you im trying to create a theme so i need all this modifications in theme files.
Thank you
Actually I’ve already tried the shortcode way
But the shortcake displays all html, example here with title:When I use
<?php echo do_shortcode("[gd_post_title]"); ?>
I get this
<div class="geodir-post-title"> <h2 class="geodir-entry-title"> <a href="http://localhost:8888/wp-listimia/places/alexander-inn/" title="View: Alexander Inn">Alexander Inn</a> </h2> </div>
It’s not about adding or removing elements, what I want is to change the layout:
Add/rearrange htmlHey
Thank you for all your answers
First of all im talking about V2 RC
I can edit content-widget-listing.php and content-listing.php by copying them to the geodirectory folder of my theme.
content-widget-listing.php calls content-listing.php the calls archive_item_template_content(); and i’m stuck here.I dropped the idea of overriding GD widget
Im creating a widget to display listings, but I couldn’t find any GD api to grab raw content
Example:
–<?php the_title(); ?>
displays title without any html only text
How can I call the content like address, category, rating stars…
Please advice what is the best way to do this
Hey,
I want to modify the way listing cards are displayed
– I want to use my html code instead of the outputed by GD> Listing: Best listingsMake sense ?
Hey,
Thank you for your reply
I want to customize the output html of this widget:
– GD> Listing: Best listingsThank you 🙂
What about overriding the function that displays ratings ?
Thank you
-
AuthorPosts