This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

unique page id's question
#11

It's useful but not vital. It's used to refer to the page in the emails, parts of the admin panel, and for the topic (which is displayed to the right of the Sort By links).

If you want to remove it, you could edit it out of the emails using the Settings -> Email -> Editor, parts of the admin panel may be unclear, and you would need to disable the topic.

You could always edit the reference yourself in Manage -> Pages after the page has been added, but that's not ideal if you have a lot of them.

Or perhaps ask the WordPress people how to get the title of the page.

Have you completed the interview?
Reply
#12

You could even write a bit of code to get the following out of the URLs and use that:

site.com/gym-equipment/york-dumbells/

Have you completed the interview?
Reply
#13
Thumbs Up 

Not too sure how to go about the last one to be honest.

Will ask on the wp forum and post back here though.

At lease the comments are working, thanks for your help
Reply
#14

Hi Steven,

I still don't have a solution to this, do you think this will effect the rich snippets inclusion in search engines?
After doing a test on G webmaster tools the data returned is this:

hreview-aggregate
item fn = cmtx_wp_title
rating
best = 5
average (normalized to 5.0 scale) = 4.0
average = 4
count =
votes = 1

My concern is the 'item fn' which is going to be the same on every review so I think google (especially) will most likely not include it, what do you think?

You mentioned a piece of code to retrieve the url, is that hard to do?
Reply
#15

It's hard to say what Google will do. I imagine they won't like it.

Did you ask WordPress how to get the title of your page? I see this as the only solution.

Maybe start here:
http://codex.wordpress.org/Function_Refe..._the_title

Have you completed the interview?
Reply
#16

I tried cmtx_<?php echo get_the_title(); ?> but it doesn't work.
Reply
#17

Try each of these:

$cmtx_reference = single_post_title();

$cmtx_reference = wp_title();

Have you completed the interview?
Reply
#18

If you get this working, can you post a guide on how to add Commentics to WordPress.

Just a few instructions on which files to open and the line numbers. Like this.

Have you completed the interview?
Reply
#19

Try using $wp_query->post->ID Smile
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by ruslan58
20-Sep-2016, 06:28 AM
Last Post by DuO-VB
21-Mar-2014, 04:26 PM
Last Post by Steven
01-Feb-2013, 03:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)