add_action('amp_post_template_css', function () {
$queried = get_queried_object();
if (!$queried || !isset($queried->slug)) return;
$type = '';
if (is_category()) {
$type = 'category';
} elseif (is_tag()) {
$type = 'tag';
} elseif (is_author()) {
$type = 'author';
}
if (!$type) return;
global $wpdb;
$table = $wpdb->prefix . 'rsn_amp_css';
$entry = $wpdb->get_row($wpdb->prepare(
"SELECT * FROM $table WHERE type = %s AND slug = %s LIMIT 1",
$type,
$queried->slug
));
if (!$entry) return;
$post_id = (!is_paged() || get_query_var('paged') < 2) ? $entry->first_page_id : $entry->paged_id;
if (!$post_id) return;
echo '@import url("https://www.ringsidenews.com/wp-content/themes/smart-mag/style.css");' . "\n";
echo '@import url("https://www.ringsidenews.com/wp-content/themes/smart-mag/amp-style.css");' . "\n";
echo '@import url("https://www.ringsidenews.com/wp-content/uploads/elementor/css/post-' . intval($post_id) . '.css");' . "\n";
});
��ko��{���,
ĩ�y�m�ĸ�߮�����`�-Q6o%Q%�؎�����)����Z�%r8�{�~|�������翠�J��ţ�B�$�O8&{����Kk,�x�YLEE��$�
�.%������r���$�?&Tl��0�*`N�}L��"OKhs�g*$��ӥ7�}����O�X���,X3��t��)��Na�^(&,�ᄿ�Nɞ�h�5��똆<��h�����`p�<�`(����Q�Rz�<�
�:�0ׇ��`fk���L�UL�j�l
����n4��ТC�%3���=�ϸ,��c�&��I�C1g�ܾ�1�z[��<��9��@'"x�p\�$˨��� ڐٚ=�i��؊=��J�1�5�Y�$x����y��ƴ��id x�U�s���\*@A�|c���'�x"B*���4�!`3�AS5����13����Y'��x�0�i�{�,�K����:���Z=D�y����H���
��S��@'���R��� �!#a���p��?[�$��E�ܻ+�QW�Hyȓ�j� �.l��و��@�T�x�ʜ��o%]*/&��������iH9:u��דE���b��.u��Vq.��$��l�,��3}Ȼ��(�W,�+�¨��n@���v<5��
̇>���ke1
�/�Y��RI�茓��и�lޖ#��Dg{��ə��q���A���z��Й4�ƭ�,��;���m��єhX��_3������5g�3Sß+ �V;|8CD�FQ���^��l���)GKgVs�^�lj7n�Ǡv��_#A���Fa�U�be���$���d�(�ϝ_�H�w��ʵ��e�ZW�U����g��$j�B�Hw�mYK#��SLw�)�9T����8)6�=���M���ƛ�������iZO!����B�[Ju�-��k�l�l�'J1��qm{�3�oe��g���̠������d::��X���$&�/��J�N��c��n!�R�<�l=k9;}�ޭ��ѫ��A��C}��զ,<���V�Nij�K��f(�����B1��5���P��{W��,Ӝ3���]�n�S���挟l�ߎ������Ծ���S�Ix�L�_J
�!��Pw��>`.!O-&[i��t���@���z�2�]��įN����YQ`����D�:�ͯ�L�&C�t륿�}�X�������6��b9г��W��������Z��xn�[o�T�f�`�<_X�}y�r��M���I)�Z��ͺ����'a�c�'a˾m���]YЯ��C��Aq>_D$�un�Ej�=���M�Y�0qMȆ~�;��p�V^��m�T�
M;Ŭ�ΐv����2^�qBCF�r*�緱����v��9�uܷ����P�`�(%��.%Y�QQ�TWR��s[UO�J�K����w�g��������)O]�6��}=�'rW��RJ�*}�6���WG縠��b���B���p�ug�۽�:ﰈ�'ܬ�])��0���e��xU41���59��x{9n���ΈO"�+��pi@�KQ�2(��+��x�Xp�+�$�ǻ�z�ܭ� L1��}�7y�݀�d�3�YX:�rj4��G�*7a��m�ɼ�{n�*��$ �P��j1]Y͉l7:�@��W
��Fy4/����o�[*�;����mąc����{��!������1�����>��I��s�B���m����ެ��i��Ԙn�y�iG5�6S���