All Questions
14,609
questions
1
vote
0
answers
38
views
Rotating a Barcode in TCPDF when embedded in HTML
Im generating a PDF in PHP with a barcode. Within the document, I need one vertical barcode and one horizontal.
Heres my sample code. The barcodes generate fine.
$data = $pdf->serializeTCPDFtag('...
1
vote
0
answers
44
views
AMP buttons by location
I'm working on a project (AMP website) where I have buttons that should only show up at certain locations and be hidden at other locations. However, I'm struggling to make each of the selected ...
0
votes
0
answers
41
views
Strange behavior of google-revocation-link-placeholder link/message
I'm trying to understand what is causing the Google Adsense Conesnt message to go 100% wide, across the whole screen, instead of placing the cute little tab to the bottom left of the screen on my ...
1
vote
1
answer
83
views
Where does the phpinfo() function get it's structure?
PHP Version: 8.2.12
I have been looking for the HTML structure of:
<?php
phpinfo();
?>
I know the details of the call comes largely from php.ini on my web server, but I can't figure out where ...
1
vote
0
answers
37
views
Is it possible to user filter_input together with htmlspecialchars?
I am reading about FILTER_SANITIZE_STRING being deprecated so I am looking for the best option to filter inputs for security reasons to prevent mysql injections and xss injections too.
My users will ...
0
votes
0
answers
43
views
I put a static popup for details view but it's not work for dynamic
I put a static popup for details view but it's not work for dynamic. please tell me the solution for this.
these are the screen shots in website popup page,
menu
when we click on the substation in ...
1
vote
1
answer
72
views
Cropperjs or Javascript issues uploading cropped image to the server with php
Please help me with this:
<h5 style="color: <?php if (isset($color)) { echo $color; } ?>;"><?php if (isset($statusupload)) { echo $statusupload; } ?></h5>
<...
0
votes
0
answers
23
views
Repeater ACF WORDPRESS is not wordking
<?php
// Check rows exists.
if( have_rows('accordion') ):
// Loop through rows.
while( have_rows('accordion') ) : the_row();
// Load sub field value.
$sub_value1 = ...
0
votes
2
answers
38
views
Ajax request not completed, values not reflected in database
I am trying to create editable table, I am using ajax request for the same by following a tutorial over youtube, but the ajax request to save the changes after editing the table seems to fail, please ...
0
votes
3
answers
139
views
How To link custom fonts in function.php file
I'm Trying to add custom fonts in my WordPress development theme, but I got fatal error here how I add it
/// Register fonts.
Wp_register_style('font-awesome', get_stylesheet_uri(), [], filemtime ...
1
vote
1
answer
26
views
Problema using a style.css for my website theme
I'm creating my website in on Wordpress.com and I'm implementing my theme.
I created a folder in wp-content/themes/mytheme and in this folder I created an index.php and a style.css.
Basically my style....
0
votes
0
answers
14
views
Dompdf Chinese character shows only on static [duplicate]
I am using dompdf library to create pdf. I need to use Chinese character. Statically it is printing Chinese character in pdf. but dynamically it doesn't come. my font family is SIMSUN. I do have ...
0
votes
2
answers
92
views
Form Numbers as Images
So essentially I haven't found a way to be able to have my dice rolls (represented by a form box with randomised digits from 1-6 (inclusive)), represented as images instead of number, however I do not ...
0
votes
1
answer
40
views
Tagdiv Composer crashes when adding woocommerce shortcode
I am use wordpress and using the newpaper theme. I added the woocommerce shortcode ([products limit=”4″ columns=”4″ orderby=”id” order=”DESC” visibility=”visible”]) and got this error. If I save and ...
0
votes
0
answers
51
views
Why do the buttons in my loop output only affect the first output div of the loop?
I need help. I want to display user post headers with a dropdown menu. However, when the dropdown menu icon is clicked, it sends the data to the first output of the loop. The listener picks the ...