Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A ai-global-activity-plugin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • NoblogsNoblogs
  • ai-global-activity-plugin
  • Issues
  • #1
Closed
Open
Issue created Nov 01, 2021 by agata@agataMaintainer

avere le immagini che sono nel post (almeno 1 :)

qui ce ne sono di più: https://noblogs.org/activity/

forse bisogna utilizzare wp_get_attachment_image_src https://developer.wordpress.org/reference/functions/wp_get_attachment_image_src/

in fondo ha un esempio che dovrebbe proprio essere quel che cerchiamo: Show the first image associated with the post però nonostante ciò in quella pagina di reference, usa: wp_get_attachment_thumb_url forse si sono sbagliati.

Ho consultato pure questi ma sono molto vecchi

https://stackoverflow.com/questions/11261883/how-to-get-wordpress-post-featured-image-url

https://stackoverflow.com/questions/12230928/wordpress-get-images-of-current-post

ed usano wp_get_attachment_image_src, la prima che riportavo.

Edited Nov 01, 2021 by agata
Assignee
Assign to
Time tracking