Viewing 15 replies - 1 through 15 (of 16 total)
  • Hey Doug, would you provide us with more details please. Also, in the future please submit any bugs and enhancements to https://lab.thesoftwarepeople.com/tracker/wordpress-fp. Thank you

    Thread Starter justplaindoug

    (@justplaindoug)

    Basically, I want to add the custom field (tickets) which is a url, and then display that as a link under the post title.

    Thread Starter justplaindoug

    (@justplaindoug)

    ANything?

    Thread Starter justplaindoug

    (@justplaindoug)

    BTW I opened a ticket on a second issue as well. Am I going to get anywhere with this?

    Thank you for posting to our support page, please check for the responses and for all communication concerning this issue.

    Just realized you didn’t post the first question to the support area. Any updates and customizations can be done in the TSP_Easy_Dev.extend.php file in the main directory, you will only need to modify the display_widget function. If you wish to have custom updates let us know.

    Thread Starter justplaindoug

    (@justplaindoug)

    okay. But what if I use the shortcode and not the widget?

    I’ve created new templates and can’t choose those in the widget.

    Can’t chose “those”? What are “those”? I still don’t quite understand. Would you send screen shots as to what you are attempting to do? Actually the display_widget function eventually gets called when using shortcode.

    Thread Starter justplaindoug

    (@justplaindoug)

    I typed, “I’ve created new templates and can’t choose those in the widget.”

    What isn’t clear about that? I’m obviously talking about the new templates I created.

    And alright, I guess I will try and figure it out. Any headway on figuring out why it’s cropping and using a thumbnail version of a photo when the rest of the instances work fine?

    Sir I apologize if my response frustrated you but I sincerely don’t understand what else you need and I still don’t understand what your problem is.

    I’ll respond to what I assume you mean instead…

    All the code that is responsible for displaying the widgets or shortcode are in the display_widget function which I stated early. To go further, the code to pull images from a WordPress posts is as follows

    $media = $pro_post->get_post_media ( $a_post, $thumb_width, $thumb_height );

    get_post_media is a WP Codex function and it just simply sets the image size based on the thumbnail width and height.

    And in your clarification to me? I still don’t know what you mean…

    “I’ve created new templates and can’t choose [templates] in the widget.”

    There isn’t a way to choose templates in our widgets so I still don’t know what this means, my apologies. Hopefully I answered the question for you.

    Correction to the above…

    “get_post_media is a WP Codex function and it just simply sets the image size based on the thumbnail width and height.”

    should read

    “get_post_media is a function that subsequently calls get_the_post_thumbnail WP Codex function and it just simply sets the image size based on the thumbnail width and height.”

    And I think this may be the issue it searches for a featured image and when it doesn’t find one it checks the post for any images…perhaps the ending syntax is the issue?

    Hold while I research this…

    Thread Starter justplaindoug

    (@justplaindoug)

    I’m using the exact same shortcode for the two instances in question, that I am for the other three instances. However, in the two in the middle- it is choosing a thumbnail. Which is not what I selected when I hit the featured image.

    Look here https://www.mothafalcon.com/stanfords/

    See thats what I don’t understand because the images there all look fine to me…

    I see “Continue Reading” that looks to be in a weird position?….

    Thread Starter justplaindoug

    (@justplaindoug)

    No…the “Book an event” and “Open Mic” the code it is calling is

    <img height="140" width="295" align="left" alt="Book an Event" src="https://www.mothafalcon.com/stanfords/wp-content/uploads/2014/08/statcollage-150x150.jpg">

    But if you take out the -150×150 and just leave it at statcollage.jpg then it shows the proper image and all.

    As it stands it uses that thumbnail and ignores the height and width that is noted.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Adding a custom field to the display’ is closed to new replies.