# \#code

**URL:** https://forum.pinegrow.com/tag/code/18.md

[Latest](https://forum.pinegrow.com/latest.md) · [Categories](https://forum.pinegrow.com/categories.md) · [Tags](https://forum.pinegrow.com/tags.md)

---

## [How to insert this php code via Function or PHP code actions](https://forum.pinegrow.com/t/how-to-insert-this-php-code-via-function-or-php-code-actions/6730)

<div class="topic-metadata">

**Author:** [@fogseller](https://forum.pinegrow.com/u/fogseller)\
**Replies:** 9\
**Last updated:** [January 29, 2023, 11:08am UTC](https://forum.pinegrow.com/t/how-to-insert-this-php-code-via-function-or-php-code-actions/6730 "2023-01-29T11:08:15Z")

</div>

Help! What is the correct way of inserting this via Function / PHP code actions: \<?php if (!empty($url)) {?\>\>\<?php }?\> i understand that it should not contain \<?php\> tags, but what parts to remove? :sweat\_smile: if i p…

---

## [How can I add code to function.php file in pinegrow theme converter?](https://forum.pinegrow.com/t/how-can-i-add-code-to-function-php-file-in-pinegrow-theme-converter/7236)

<div class="topic-metadata">

**Author:** [@trueman](https://forum.pinegrow.com/u/trueman)\
**Replies:** 2\
**Last updated:** [November 23, 2022, 4:23am UTC](https://forum.pinegrow.com/t/how-can-i-add-code-to-function-php-file-in-pinegrow-theme-converter/7236 "2022-11-23T04:23:07Z")

</div>

Can’t I add code to function.php in pinegrow theme converter? Adding codes manually after each export is not very useful. Is there a solution or will it come?

---

## [Images are not showing](https://forum.pinegrow.com/t/images-are-not-showing/7164)

<div class="topic-metadata">

**Author:** [@trueman](https://forum.pinegrow.com/u/trueman)\
**Replies:** 1\
**Last updated:** [November 4, 2022, 12:53pm UTC](https://forum.pinegrow.com/t/images-are-not-showing/7164 "2022-11-04T12:53:27Z")

</div>

How can I change this code in pinegrow theme converter? I add it from the php code panel, but it doesn’t change. So I can’t show the image. I want to do this in the program. Is there a way to do this? \<img class="u-expa…

---

## [Pinegrow uncollapses entire tree view when editing code](https://forum.pinegrow.com/t/pinegrow-uncollapses-entire-tree-view-when-editing-code/6840)

<div class="topic-metadata">

**Author:** [@adamslowe](https://forum.pinegrow.com/u/adamslowe)\
**Replies:** 1\
**Last updated:** [August 23, 2022, 5:39pm UTC](https://forum.pinegrow.com/t/pinegrow-uncollapses-entire-tree-view-when-editing-code/6840 "2022-08-23T17:39:36Z")

</div>

Hey guys, I’m running up against an issue where, whenever I edit code and the code editor, it uncollapses everything in my tree view panel. Here is a 45-second demo to show you what I mean. Pinegrow uncollapsing tre…

---

## [Font size in Code Editors](https://forum.pinegrow.com/t/font-size-in-code-editors/1582)

<div class="topic-metadata">

**Author:** [@millano572](https://forum.pinegrow.com/u/millano572)\
**Replies:** 9\
**Last updated:** [January 4, 2019, 11:50am UTC](https://forum.pinegrow.com/t/font-size-in-code-editors/1582 "2019-01-04T11:50:35Z")

</div>

Can’t resize font in code editor. Although I changed it to 18px in Settings, it reamins at 12px
