Mark
Forum Replies Created
-
Forum: Plugins
In reply to: Can’t get “Get Custom ” to work for the life of me >:(Ok maybe I need to explain it better:)
I am working on getting the Custom fields pulled to a page outside of the actual WP system here:
https://www.foxvalleyshows.com/new/shows.php
I have this code at the top before any HTML code:
<?php require('./news/wp-blog-header.php'); ?>
Then I am using the following code to pull the UPCOMING SHOWS category in WP to the shows.php page:
<?php ec2_get_events_list(100,'j F'); ?>
<?php echo c2c_get_custom('cost', 'How much :'); ?>But that isn’t doing anything so therefor I’m stuck.
Does this help?
Forum: Plugins
In reply to: Can’t get “Get Custom ” to work for the life of me >:(Maybe I need to edit my Event Calendar 2 with the code to include it? That is where the
<?php ec2_get_events_list(100,'j F'); ?>
is being called.I am almost thinking that having
<?php echo c2c_get_custom('cost', 'How much :'); ?>
isn’t going to do anything for me on the main page…Forum: Plugins
In reply to: Can’t get “Get Custom ” to work for the life of me >:(It does access WP. I have a bunch of “show listings” that pulls from my “UPCOMING SHOWS” category in WP. But for whatever reason shows.php is not pulling the data from WP. Checkout the link to see what I am referring too:
This is where I want the info to go: (2nd one on the top in the middle saying “please”)
https://www.foxvalleyshows.com/new/shows.php
The info does show up here:
https://www.foxvalleyshows.com/new/news/?p=46
Any thoughts on what code I have to use? I would think that this information would get pulled regardless.
Here is the code from the middle part that I am using that pulls all the “show listings” besides the “custom fields”:
<?php ec2_get_events_list(100,'j F'); ?>
<?php echo c2c_get_custom('cost', 'How much :'); ?>Forum: Plugins
In reply to: Can’t get “Get Custom ” to work for the life of me >:(Sweet sweet. That posts the information to the actual page.
Now at least its posting to WP. But how do I get it to post to this page:
https://www.foxvalleyshows.com/new/shows.php
I don’t think I would use that same code. But I do want it pulled to a different page like everything else:)
Would I need to put some code in the “wp-blog-header.php” file? Since I am already calling to that on all of my .php pages?
Forum: Plugins
In reply to: Can’t get “Get Custom ” to work for the life of me >:(Ok that is part of the problem:) Thanks.
But I still can’t get the information posted on the actual POST. It only shows up on the CATEGORY page and when you click the permalink it doesn’t show that info….
This is going to rock once I get all these annoyances out of the way \:D/
Forum: Fixing WordPress
In reply to: Sorting Posts by Date or Timestamp?No biggie Amory. This works great though so far:)
Now if I could only find out about this blasted Text Formatting thing. My main WP page (https://www.foxvalleyshows.com/new/news/) is right, but my “Upcoming Shows” section on the left hand side of my side doesn’t carry that formatting over:
https://www.foxvalleyshows.com/new/index.php
I have used Text Tile 1 and 2 and neither works for me. I don’t get it….any thoughts?
Once I get one thing figured out then there’s another! Fun times ??
Good link Idda, but I Amory’s works fine for me. Maybe I can include both of them? We’ll see…I’m not overly worried about that at the moment.
Forum: Fixing WordPress
In reply to: Sorting Posts by Date or Timestamp?I think I got it. I just commented out these lines 352 and 353:
// echo mysql2date($date_format,$entry->post_date);
// echo "</p>n";Forum: Fixing WordPress
In reply to: Sorting Posts by Date or Timestamp?Is there a way to get rid of the “12 July”, “13 July”, “14 July” as I am currently using the Title of each post to display the date? But still use those variables on the form for organization purposes?
Forum: Fixing WordPress
In reply to: Sorting Posts by Date or Timestamp?My bad….I missed a whitespace :o) I have it working again and trying to edit it again…
Forum: Fixing WordPress
In reply to: Sorting Posts by Date or Timestamp?I’m only getting that error on lines 10, 11, 12 and 13. Did you test out the code you gave me Amory?
I did try deleting the whitespaces but that didn’t clear it up…
Forum: Fixing WordPress
In reply to: Sorting Posts by Date or Timestamp?Has anyone seen this:
Warning: Cannot modify header information – headers already sent by (output started at /home/.sites/95/site92/web/new/news/wp-content/plugins/eventcalendar2.php:536) in /home/.sites/95/site92/web/new/news/wp-admin/admin.php on line 10
Its after I changed the plugin and reuploaded it…do I need to rename the plugin or something?
Forum: Fixing WordPress
In reply to: Sorting Posts by Date or Timestamp?Awesome this looks like it is going to work better, I still have to play around with it, I ended up using:
<?php ec2_get_events_list(5,’j F’); ?>
As I was getting errors before with just the code you gave me.
I have to remove the
<li>
stuff now too and see about adding<b>
tags for the title….Forum: Fixing WordPress
In reply to: Sorting Posts by Date or Timestamp?Sorry didn’t read your post correctly…
For the time being I am trying to avoid using WP for visitors to view posts. I am mainly using WP as a basic content management system. So if I can use WP to post shows and news and take that data, and pull it into my site (like I am doing now) and then organize the shows by date, that is all I am attempting to do.
So I would need the content and excerpt and title pulled.
Does that help?
Forum: Fixing WordPress
In reply to: Sorting Posts by Date or Timestamp?Yes basically how the shows.php page looks now in the main section. Having options to change the outputting HTML code would be nice too:)
Let’s maybe get this then add some cooler things later…
Forum: Fixing WordPress
In reply to: Sorting Posts by Date or Timestamp?Moshu- I understand and was listening…my question was could i change the way WP would post the publish date (timestamp) and I know that the answer is NO. So I didn’t know if there was a workaround that. No biggie :o)
Amory- Thank you for the information and I have the calendar installed. The calendar is a good idea, but I’ll need to do some tweaking to it to make it do what I want. I am looking at basically setting it up where it has:
the title
the excerpt
the contentAnd with no links to the actual WP posting, at least for now. I LOVE how it is sorted via date. That rocks! That’s what I have been trying to do for a few days now.
Do you have any suggestions for me to get this up and running the way I want?
On the https://www.foxvalleyshows.com/new/shows.php I like how it has the listings and would be happy (for now) with that same type of format. I looked briefly at the plugin code but, aside from editing the plugin, am not sure if I can call “the_content” on my template page. Any ideas?
I am basically going for this idea here with my site:
https://www.syracuseshows.com/upcoming.php
So I’d like to have images posted similar to what this guy has. But again would settle for how the MY current shows.php page looks too.
-Mark