Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1097835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:29:21+00:00 2026-05-17T00:29:21+00:00

I need to create a plugin used to create a part of a web

  • 0

I need to create a plugin used to create a part of a web page.

Therefore, it would be very useful for me to create a php template to be used by the plugin to generate the content.

Unfortunately, I can’t find anything within the Plugin API and I’m quite confused about it right now.


The plugin needs to generate a list of images. Simple HTML with a for loop.

I would like to avoid this:

function insert_gallery(){

    $images = $SQL_QUERY();
    for(...){
        echo 'string'+$variable+'string'+$method()+'string'+$variable;
    }

}

add_action('insert_gallery', 'insert_gallery')

Help would be amazing. 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T00:29:21+00:00Added an answer on May 17, 2026 at 12:29 am

    Here you go:
    http://www.stiengenterprises.com/download/wp-filebrowser/wp-filebrowser_0.3.zip

    This is a plugin that I have just created for selecting a image to attach / relate to a post / page. Look at the code and you can see how I generate the image listing.

    It’s not finished, just an early version.

    Will only work on WP 3.0 or later.

    Hope this helps 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to create a custom XUL element named 'video' for a video
This is about plugin features in my program. I need a C++ class(and object)
I need to create my own codec, i.e. subclass of QTextCodec . And I'd
I have a page that uses Ryan Bates nested_form plugin . The plugin is
We are beginning the process of moving from Web Forms to MVC for all
So I'm using this pretty standard jquery plugin pattern whereby you can grab an
I’ve created my own plugin architecture based on the common practices but I’m stuck
I'm trying to set up a model (client) that contains some general attributes about
In Snow Leopard, I want to trigger a script/code whenever a user duplicates a
My 1st objective is to filter the types based on a specific interface with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.