WordPress is an open source content management system running on PHP and MySQL, and often used as a blog engine. WordPress questions not about programming are best asked on http://wordpress.stackexchange.com/

learn more… | top users | synonyms

0
votes
0answers
2 views

Woocommerce Dump New Order Details in MySQL Table

I looking to get basic details such as Order ID, Name and Phone of customer when new order is placed on woocommerce and then save it into a seperate MySQL Table. Here is code which I am trying but it ...
0
votes
0answers
4 views

How to edit wordpress native gallery's css file? [migrated]

I want to edit my gallery's css file. Where do I find it? or Am I override it? PS: I've got 5 different gallery in 5 different page..
0
votes
0answers
6 views

display thumbnail wordpress in bootstrap popover

How to display thumbnail wordpress in bootstrap popover? I used the_post_thumbnail but this function inherently echo <img> . The resulting image is not shown in popover <?php if ( ...
0
votes
0answers
16 views

Multiple Row vs Serialized Row - Performance

This question is about efficient data storage for fast retrieval. Insertion speed is less important. The context below expands on my intentions, but the question is ultimately about performance of ...
0
votes
1answer
7 views

How can I get the current wordpress timestamp for my mysql injection

I need to get the current timestamp for the time that is set within the wordpress settings area? How can I get this timestamp for my mySQL injection?
0
votes
1answer
12 views

Where do I paste this codes in Fancybox?

I want to add social share buttons support on my fancybox gallery. I found this page; jsfiddle.net/G5TC3/ but I dont know where to paste those codes. Could you help me?
-2
votes
2answers
39 views

How to add a number to each looped element with php?

This may seem a really trivial question. I have a wordpress loop, and I need to number each looped element ascending. So it will be like this... 1,2,3,4,5,6,7,8,9,10 Is there some php can do this? ...
0
votes
1answer
11 views

Get image type url with Wordpress Media Upload

I can't seem to retrieve a specific image type, like thumbnail, thumb, or post-thumbnail with Wordpress Media Upload. All I get is the images original size url, and because of that I show a huge ...
0
votes
1answer
14 views

How to add unique class to Wordpress menu anchor?

I have this function: function my_walker_nav_menu_start_el($item_output, $item, $depth, $args) { // you can put your if statements in here (use item, depth and args in conditions) ...
-4
votes
0answers
21 views

How to create shortcode with if else condition? [on hold]

i want to create a shortcode in wordpress for countdown with if else condition. e.g. [countdown start="2013/07/29 18:00" deadline="60"] some text here [else_countdown] some text [/countdown] please ...
0
votes
0answers
15 views

wordpress woocommerce, showing a single specific product and its options on homepage

For a reference of the website i am developing you can view it here: http://prettyloxx.netii.net/ I am creating a ecommerce website using wordpress and woocommerce together in a theme that i added ...
0
votes
0answers
7 views

Tabular data, rather than plain simple custom post types, with WordPress

I have a demand to create a web system for a School. This system has to handle: Subjects; Students' parents information; Students information; Attendance; Grades. Students information and Students' ...
-2
votes
0answers
17 views

Similar wordpress theme? [on hold]

Does anyone know a similar wordpress theme to this? ...
0
votes
0answers
7 views

Add extra url segment to a url in Wordpress

I'd like to add an extra 'non-functional' url segment in front of the next url segments e.g. I now have a url http://www.domain.com/news/newspost1/ but I'd like to add a cityname in front of the url ...
0
votes
3answers
59 views

How to return random string only once?

I have searched high and low to find an answer, but can't seem to find one anywhere. <?php $f_contents = file("x.txt"); $line = $f_contents[rand(0, count($f_contents) - 1)]; echo($line); ?> ...

1 2 3 4 5 2271
15 30 50 per page