Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all 8245 articles
Browse latest View live

rerraw on "How convert this Html newsletter bootstrap form to wordpress?"

0
0

HI
i has this code in my html markup files
based on twitter bootstrap how i can convert it until work on wordpress?
`<form id="subscribtion-email" role="form">
<div class="input-group">
<input type="email" class="form-control" id="search-form" placeholder="Enter Your Email..." />
<span class="input-group-addon btn-primary">Submit</span>
</div>
</form>


shareef301 on "get the first image from a page (outside loop)"

0
0

I'm trying to pull out the first image from a specific page to a specific div. The div is on top of the page (out of the loop).

pls help ppl :)

Thanks

mindfl0w on "SQL qiery to get all posts without featured image"

RaiderKat on "Excluding a category title with multiple categories"

0
0

Hi, I've been racking my brain and can't figure out how to get this to work. I created some custom menu links that display two categories together For example - Collections & Fabric the link i'm using is http://www.tdfall.com/category/collections+category.

I have been using the_category() to display the title on the page, but now it shows both categories in the title "Collections Fabric" How can I make it show up as only Fabric in the title?

If anyone can help! that would be so great! Thank you!

JosVelasco on "Exclude categories with less than x posts from the_category"

0
0

I want to automatically hide categories with less than x published posts from the function the_category().

For some kind of sites I don't see the point of showing a category link if it only has a couple of posts, but since eventually the category will have more I want to assign it from the beginning.

Thanks!

tomalpha382 on "ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvi"

0
0

ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt BAngAlore ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ BAngAlore ℰScoℛTs SeRvice

tomalpha382 on "ℐℕdℰpℰℕdℰℕt JAlaNDhaR ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ JAlaNDhaR ℰScoℛTs SeRvi"

0
0

ℐℕdℰpℰℕdℰℕt JAlaNDhaR ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ JAlaNDhaR ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt JAlaNDhaR ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ JAlaNDhaR ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt JAlaNDhaR ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ JAlaNDhaR ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt JAlaNDhaR ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ JAlaNDhaR ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt JAlaNDhaR ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ JAlaNDhaR ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt JAlaNDhaR ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ JAlaNDhaR ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt JAlaNDhaR ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ JAlaNDhaR ℰScoℛTs SeRvice
ℐℕdℰpℰℕdℰℕt JAlaNDhaR ℰScoℛTs 0⑨8⑦➊⑨3➊38⑨ JAlaNDhaR ℰScoℛTs SeRvice

keveen on "How to Make a gallery scroll?"

0
0

I am using the ari theme and now I see it doesn't have gallery scrolling as some themes apparently do. When I create a gallery there is no scrolling, I mean just a simple ""next and ""previous option, that's all.

Is there a bit of code I can add to create this basic slideshow function? I know I can use a plugin but for my purposes I don't need anything fancy.

It's not online yet as I am working on a localhost setup.

http://www.healthwealthandmusic.co.uk/tyneblog/


ArsSpiritus on "Facebook Like Box Pop Up: Help Needed!"

Anointed on "symlinked uploads directory and media issues"

0
0

I've come across an issue with adding and displaying media (pictures) in WordPress but only under a specific scenario and I'm curious if there is just a simple command I might be missing.

Setup:
I have multiple websites on the same server and my goal was to set it up so that I only have one set of WordPress core code, plugins, and themes for all sites to share.

I did this by using nginx rules where every single site loads from the same directory of files /home/wordpress. In the home directory I have a generic wp-config.php file. That file starts by going to the sites 'data' folder where I have another php file containing all the database connection information along with every other aspect of wp-config.php unique to the site being displayed.

I define the 'uploads' directory in this custom file for each site which is actually a symlink.

Problem:
Everything seems to work perfect with one HUGE exception. When I go into a post and click the media button, nothing shows up. If I use the media button in the add post/page dialog to add media, I end up with an error code and the picture does not show up.

However, if I use the regular media button in the admin, I can indeed see all the images I upload and I can also upload as usual.

question:
Does the media uploader in the add post/page require a different constant to be defined in the wp-config.php file in order to work?
Or, is there simply a bug I might have found due to a strange setup I am trying?

**This is a hard problem to describe without posting a ton of my nginx rules as well as the custom server directory symlink setup etc... If this does sound like a real bug, and if any of the 'devs' are interested in helping to investigate, let me know and I'll work out access to the server as it's just a test setup.

thanks everyone.

jerryskate on "display child pages with anchors working with full page.js"

0
0

Hi!

Im a bit over my head here.. Im using full page.js and trying to add it to my wordpress. The documentation show how to add each slides as divs, and for horizontal scrolling, nesting divs inside each divs. However, to fetch slides, I'm using

`<div id="pageSlide-<?php echo $post->post_name;?>" class="section" data-anchor="<?php echo $post->post_name;?>">
`
The problem then is that i can't nest subpages for the horizontal scrolling. I was thing using one page as a parent, and then use anchors to display them, or something similar to that. Im a bot of a noob, so any pointers would be appreciated.

This is the script: http://alvarotrigo.com/fullPage/

Ive been using this guide to help me along:
http://www.themevan.com/build-an-one-page-portfolio-website-with-wordpress/?codekitCB=413560456.282228

This is the test site: (Menu not working at the moment, and slides boxed)

Svenssonsbild.se/Fullscreen

Thanks! /J

kardasjan on "Expandable Dropdown Categories"

0
0

Hello dear co-coders.

I have came over minor issue and it reálky troubles me I can not get over it.

I need 3 dropdowns on my HP which would contain category parrents able to expand into another dropdown. Like Windows Start. Every dropdown with different category parrents (I would suggest 3 main cats and children of those in one of select dropdowns).

I need them to execute search script on option click. (I already found some easy jquery hacks to do that).

I need to make them dynamic, so when I add a subcategory, it will be displayed in dropdown.

Language is unimportant, I am open to all new things.

Thank you, hope it helps many more out there.

sunsetsystems on "Oddities about the class based plugin tutorial"

0
0

In my attempts to learn plugin development I have been going through the "class based" sample here:

http://www.yaconiello.com/blog/how-to-write-wordpress-plugin/

One thing I don't understand is, why are the WP_Plugin_Template and WP_Plugin_Template_Settings classes instantiated at all? They have no member variables, so it seems the instances have no practical value and the class functions may as well all be static. Are there situations where they might have variables?

Also the call to do_settings_fields() in templates/settings.php seems to be a mistake. It doesn't do anything and is missing the required second argument.

Anne on "How to get thumbnailpictures in Blogger-blogrolls? (yes it is possible)"

0
0

Hi!
Blogspot/Blogger has for several years had the option to show small thumbnailpictures from the newest blogpost in blogrols. This has only worked with Blogger blogs, not with blogs run on wordpress.

But, now I see that someone clever has figured out how to make it work for wordpress to. There are at least two theemes on WordPress.com that will show these thumbnailpictures. They are: twenty forteen theeme, and twenty ten theem. You have to use "featured images" to get the thumbnail. (i have no idea if this workes on the themes when they are selfhosed).

I (and a lot of other people) really would like this function, so I hope that someone of you understand what I need to doo to get my thumbnailpictures to show! The theeme I use for my blog uses featured images already, so there must be something else I need to do/add.

Probably related: My featured images dont show up in Feedburner-emails (RSS subscription). Possibly fixing one will fix the other?

If you would like to see how the Blogger-lists (with blogspot and wordpressblogs) look, you can se that here. In the first collum you will find three extra large pictures, they all are WordPress-blogs.

This is the adress for my wordpressblog:

All help will be greatly appreciated, please excuse my horrid english spelling!

LesTexas60 on "Checking form fields for Null entry?"

0
0

I am trying to set some required fields in a PDF file that I will embed in a page. I have the code below:

event.rc = true;
if (event.value == " " || event.value ==null )
{
app.alert("This is a REQUIRED FIELD'!");
event.rc = false;
}

If a space is entered it returns the error.
If the field is just returned through it does not report the error.
what am I missing in my code?
Thanks


Manoj Trivand on "Cant save custom categories of a custom taxonomy"

0
0

I use the code like below in a submit page.

$new_post = array(
'post_title' => $title,
'post_content' => $description,
'post_excerpt' => $excerpt,
'post_category' => array($_POST['cat']),
'tags_input' => array($tags),
'post_status' => 'publish',
'post_type' => 'custom_post_type'
);
$pid = wp_insert_post($new_post);

The $_POST['cat'] fetches the correct category id. My custom taxonomy is named directory. I am able to view in the saved post in the backend but the category checkbox is not checked there and in the front end i am displaying the post under these custom category, but it doesnt appear. Is there a way to save the custom category of a custom taxonomy properly.

Ale12 on "How category or taxonomy data on its admin panel get populated?"

0
0

Hello,

Hope you have nice warm day.

Can you direct me to documentation about category/taxonomy admin panel data populate process, please?

I need to modify or filter the data that will be displayed on the taxonomy admin panel.

If there are other functions/admin/hook for this, could you please let me know?

Thank you very much for your time and your help.

Best regards,

-Ale12

Ale12 on "How to Filter value that populate in Taxonomy Admin Panel?"

0
0

Hello,

Hope you are well.

I would like to filter the value that populate in Taxonomy admin panel by users.
Here are some questions.

1. Are there any action, hook, filter can use to do this?
2. If there is no action nor other things available, where can I change value that populate data in taxonomy like category manage panel?

3. I saw a post that might fit to what I need but not sure what file I can apply the code in URL below to ?

Here is the link: http://wordpress.stackexchange.com/questions/8428/multiple-users-only-allow-them-to-manage-their-own-terms-for-custom-taxonomy-w

I researched the 'list_terms_exclusions' but could not find in Wordpress Codex about its details. Maybe I'm wrong. If you see the codex explanation for 'list_terms_exclusions' could you please reply with link to this post here. Your help is greatly appreciated.

Thanks very much for your time and consideration.

-Ale12

robthirlby on "format of user_email field"

0
0

Is there a legal hack to change the validation of user_email fields to allow say rob<rob@thirlby.net> or rob(rob@thirlby.net)? I'm unclear why the validation via is_email() is so restrictive effectively to name@domain.

Matthew on "Displaying WooCommerce Orders via AJAX request from MySQL Database as LIVE Feed"

0
0

Basically I am using WooCommerce as an ordering system for a restaurant. The customers select their options and food/drinks... Select their table number... And submit their order.

On the backend... Not much luck. I need to somehow request the information from the Database maybe every 5 seconds to display the orders as they come in, check them, complete them, and so on... All without actually logging into Wordpress itself.

Maybe woocommerce is not what I need to be using. Any ideas or alternate methods that I could use to do this?

Viewing all 8245 articles
Browse latest View live




Latest Images