• Hi,

    I recently transferred my domain, and I saved all of my public_html files locally. I am looking for a chart that was housed in the amcharts plugin in my wordpress site. In my sites sql file, I can see the reference to [chart-2] in a post, but I cannot find a file with its contents. I searched public_html, and specifically the amcharts plugin folder. How can I find it?

Viewing 1 replies (of 1 total)
  • Plugin Author martynasma

    (@martynasma)

    Hey,

    The charts are saved in the data base as regular posts. The actual chart code (html, resources, javascript) is saved in post meta, which means it is in the wp_postmeta table.

    If you know the actual post_id of the chart, you can run the following SQL query on your data base to extract all the info related to the chart:

    SELECT * FROM wp_postmeta where post_id=XXX and meta_key like ("_amcharts_%")

    (replace XXX with actual post_id)

    If you don’t have the id, you can do this to find out:

    SELECT post_id FROM wp_postmeta where meta_value="chart-2"

    Or, if you don’t have MySQL running, you’ll need to dig this info out of your db dump file, I suppose.

    I hope this helps.

    • This reply was modified 6 years, 11 months ago by martynasma.
Viewing 1 replies (of 1 total)
  • The topic ‘chart files’ is closed to new replies.