Title: HTML with child theme
Last modified: August 24, 2016

---

# HTML with child theme

 *  Resolved [Max Beta](https://wordpress.org/support/users/max-beta/)
 * (@max-beta)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/)
 * Hi
 * I am trying to activate HTML and saw your post about changing functions.php.
 * I tried this with functions.php in my child theme folder but it’s not working.
 * Should this work with a child theme?
 * I use version 0.8.7
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Thread Starter [Max Beta](https://wordpress.org/support/users/max-beta/)
 * (@max-beta)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013354)
 * I tried placing the code in functions.php in the main theme folder, but no change.
 * At one point I accidentally had the code in both functions.php and the site threw
   an error like this:
 * Fatal error: Cannot redeclare decode_html_in_gdoc_table() (previously declared
   in /storage/ … /Child-Theme/functions.php:20) …
 * So I suppose this suggests that the code is loading as it should.
 * But I can’t get any formatting to display in WP, no links, no color, no nothing.
 * Any ideas?
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013396)
 * Does your spreadsheet contain any HTML code?
 *  Thread Starter [Max Beta](https://wordpress.org/support/users/max-beta/)
 * (@max-beta)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013400)
 * I have added some web links using the link tool there.
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013401)
 * That is not HTML code.
 *  Thread Starter [Max Beta](https://wordpress.org/support/users/max-beta/)
 * (@max-beta)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013402)
 * aah… pasting an a link worked.
 * So there’s no way that HYPERLINK in google could be translated as a proper link?
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013403)
 * No. Google never exports hyperlinks. If they ever change that, maybe.
 *  Thread Starter [Max Beta](https://wordpress.org/support/users/max-beta/)
 * (@max-beta)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013405)
 * Ok I noticed a new problem.
 * The row I added the HTML link to is not sorting correctly now.
 * The link is set with a persons name in col 1 and 2 and the last column holds 
   a result. I use the script to sort the page after the result and that’s been 
   working.
 * Now the one row I added the link to is not sorting properly.
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013407)
 * It’s sorting just fine. `<` (the first character in an HTML link element) sorts
   differently than a letter.
 * [Like I said in the other thread](https://wordpress.org/support/topic/how-to-enable-html-in-the-inline-google-spreadsheet-viewer),
   there are probably better ways to do what you want than writing HTML into a spreadsheet.
   Think about what you are doing and come up with an alternate approach.
 *  Thread Starter [Max Beta](https://wordpress.org/support/users/max-beta/)
 * (@max-beta)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013408)
 * No it’s not sorting fine. I’m not sorting the html column but the last column
   with numbers (bold)
 * l a linked name l a linked second name l col 3 l col 4 l col 5 l col 6 l **Results**
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013412)
 * > Now the one row I added the link to is not sorting properly.
 * If the link is what’s causing a change in sort behavior, theb it’s the link you
   want to rethink adding.
 *  Thread Starter [Max Beta](https://wordpress.org/support/users/max-beta/)
 * (@max-beta)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013413)
 * The spreadsheet shows 30-40 competitors.
 * Each competitor has a profile page at the site. The idea is that their names 
   in the scoreboard spreadsheet should be linked to their profile.
 * I am setting this up for the end user. All they need to do when it’s finished
   is to adjust the results each week. They don’t even have to bother with sorting
   the list since it’s done in WP.
 * You mention that I should look for other ways to do this. Can you give me a hint
   how I build this for an end user with no web skills?
 * – – –
 * I don’t understand why a script that looks at col 7 for sorting should be distracted
   by content in other columns. Sounds like a bug to me.
 *  Thread Starter [Max Beta](https://wordpress.org/support/users/max-beta/)
 * (@max-beta)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013419)
 * I found the problem.
 * When I used a link on all rows the sorting was still a problem. It turned out
   to be a problem with the decimals.
 * I need to use the same amount of decimals so 33,40 will work together with 22,31,
   but 33,4 with one decimal won’t work.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘HTML with child theme’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

## Tags

 * [child](https://wordpress.org/support/topic-tag/child/)
 * [html](https://wordpress.org/support/topic-tag/html/)

 * 12 replies
 * 2 participants
 * Last reply from: [Max Beta](https://wordpress.org/support/users/max-beta/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/html-with-child-theme/#post-6013419)
 * Status: resolved