Pablo Bra

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Override widget #438700

    Pablo Bra
    Free User
    Post count: 10

    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 ?

    in reply to: Override widget #438690

    Pablo Bra
    Free User
    Post count: 10

    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.

    in reply to: Override widget #438654

    Pablo Bra
    Free User
    Post count: 10

    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 html

    in reply to: Override widget #438624

    Pablo Bra
    Free User
    Post count: 10

    Hey
    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

    in reply to: Override widget #438503

    Pablo Bra
    Free User
    Post count: 10

    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 listings

    Make sense ?

    in reply to: Override widget #438461

    Pablo Bra
    Free User
    Post count: 10

    Hey,
    Thank you for your reply
    I want to customize the output html of this widget:
    – GD> Listing: Best listings

    in reply to: ratings without html #426291

    Pablo Bra
    Free User
    Post count: 10

    Thank you 🙂

    in reply to: ratings without html #426125

    Pablo Bra
    Free User
    Post count: 10

    What about overriding the function that displays ratings ?

    in reply to: Grab featured image url #426099

    Pablo Bra
    Free User
    Post count: 10

    Thank you

Viewing 9 posts - 1 through 9 (of 9 total)