Hermina Andrews
Forum Replies Created
-
Forum: WordPress Mobile App
In reply to: Potential error – dateHello! Based on your message, it seems that you’re experiencing an issue with the WordPress mobile app on your Samsung Galaxy A40 running Android 11. Specifically, when you create a new article and change the date, it defaults back to the current date after publishing.
To troubleshoot this issue, you may want to try the following steps:
Ensure that you have the latest version of the WordPress mobile app installed on your phone. If not, update the app from the Google Play Store.
Check if the same issue occurs when creating a new article on the WordPress website using a desktop browser.
Try changing the date format in the app settings to see if that makes any difference.
If the issue persists, you can contact the WordPress support team for further assistance.
I hope this helps! Let me know if you have any other questions or concerns.
Forum: Fixing WordPress
In reply to: Need help with recurring tile that may be used as a patternHello, To create a seamless repeating pattern using the leaf motif you've defined in your C code, you will need to use a loop to draw multiple instances of the leaf in a tile-like fashion. One way to do this would be to define the size of your tile and then use nested loops to draw the leaves in rows and columns. You can also use the translate function to move the drawing cursor to the next position in the pattern. Here's an example code that should help you get started: #include <stdio.h> #include <stdlib.h> #include <graphics.h> void leaf_pattern() { int gd = DETECT, gm; initgraph(&gd, &gm, ""); setcolor(GREEN); setfillstyle(SOLID_FILL, GREEN); int tile_size = 100; // set the size of your repeating tile for (int i = 0; i < getmaxy(); i += tile_size) { for (int j = 0; j < getmaxx(); j += tile_size) { arc(j + 50, i + 50, 0, 60, 50); arc(j + 100, i + 50, 120, 180, 50); arc(j + 75, i + 100, 240, 300, 50); floodfill(j + 75, i + 50, GREEN); translate(tile_size, 0); // move to the next column } translate(-getmaxx(), tile_size); // move to the next row } closegraph(); } int main() { leaf_pattern(); return 0; } In this code, the tile_size variable defines the size of the repeating tile in pixels. The outer loop draws rows of tiles and the inner loop draws the leaves within each tile. The translate function moves the drawing cursor to the next position in the pattern. To modify the color scheme of the pattern, you can change the values passed to the setcolor and setfillstyle functions. You can experiment with different shades of green or even use other colors to match your client's design specifications. I hope this helps!
- This reply was modified 2 years ago by Hermina Andrews.