• Resolved lcastanon1

    (@lcastanon1)


    I’m trying to edit some of the copy being automatically generated by a short code on my homepage but it’s not entirely obvious where it originates by looking at it. I’m don’t necessarily want to edit the slot the shortcode is placed in but rather the information that is being bundled in

    Short code:

    [home_page_item_listings type=”news”]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do you have a category called “News” in your Posts section?

    From the way the shortcode is worded and the limited information, my stab in the dark would be that the content you are seeing are Posts with the category of “News”, or maybe a Tag of “News”. Either that or an actual custom post type called News. That’s my best guess.

    • This reply was modified 2 years, 2 months ago by pichichi.
    • This reply was modified 2 years, 2 months ago by pichichi.
    Thread Starter lcastanon1

    (@lcastanon1)

    yes you are correct, I get that it’s pulling the latest post from a series of Posts with the category name ‘News’. That’s all fine. What I’m trying to figure out is where that short code came from because it is adding an h3 element above the said news posts and i cant figure out where that lives to change it. Thanks!

    Look at your installed plugins. Anything sound like it does what your shortcode is doing? If you have FTP access you could always just search the entire plugins folder for “home_page_item_listings” or you could do it the long way by going to /wp-admin/plugin-editor.php and opening up every file in there one by one and searching for it.

    Thread Starter lcastanon1

    (@lcastanon1)

    Thanks tugbucket, you put me on the right path. I was able to track it down deep in the functions.php markup. Not the most efficient way to update it but it worked.

    Thanks all

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tracing the origin of a shortcode’ is closed to new replies.